An enterprise can allow Ollama safely by writing a short policy that names the approved models, the data classes each may handle, where it may run and what is logged. Without it, every laptop becomes its own unreviewed AI platform. The template below is a starting point.
What does the Ollama FAQ tell a policy writer?
Four facts from the Ollama FAQ matter for policy (checked December 1, 2026). First, the server listens on 127.0.0.1 port 11434 by default, and OLLAMA_HOST changes that. Second, Ollama states that it does not see your prompts or data when run locally. Third, cloud models and web search are optional features, and OLLAMA_NO_CLOUD=1 disables them. Fourth, model files live in a per-user folder that OLLAMA_MODELS can move. Each one maps to a policy line.
What goes in the policy?
| Data class | May use Ollama? | Allowed models | Where it may run | Controls required |
|---|---|---|---|---|
| Public or synthetic | Yes | Any model on the approved list | Managed workstation or sandbox server | Loopback only, approved list, cloud features off |
| Internal, not customer data | Yes, after review | Approved list, licence checked | Managed workstation or internal server | Plus access control and basic logging |
| Customer or confidential data | Not on a developer tool; use a production serving layer | Models approved for that class | Production environment only | Identity, quotas, full logging, retention rules |
| Regulated records (for example health data) | No, until a design review passes | Models approved by risk | Production environment only | Design review, residency check, audit evidence |
Adapt the classes to your own data classification. The point is that each row gives a developer a clear yes, no or "ask first", and gives security something to audit.
Which settings enforce the policy?
- Leave OLLAMA_HOST at its default so the server stays on 127.0.0.1, unless a reviewed design says otherwise.
- Set OLLAMA_NO_CLOUD=1 where policy forbids cloud models and web search.
- Set OLLAMA_MODELS to a managed folder and keep only approved model files in it.
- Set HTTPS_PROXY for model pulls through your proxy, and avoid HTTP_PROXY, as the FAQ advises.
- Pull models from an internal mirror or approved list where you can, not from the open internet.
- Record the Ollama version and the model list per machine in your asset inventory.
Settings drift, so pair them with a check. Review the model list on each machine quarterly, and compare it with the approved list.
How do we roll the policy out without stopping developers?
A ban rarely works; developers install the tool anyway. A better route is to offer an approved path that is easier than the unapproved one. Publish the approved model list, give a one-page setup guide with the settings above, and provide an internal mirror so pulls are fast. Then ask teams to register their installs. The goal is a known estate, not a perfect one.
- Name the policy owner and the approver of the model list.
- Publish the list and the one-page setup guide.
- Ask teams to register installs and list the models they use.
- Review the register and the settings each quarter.
- Move any workload that outgrows the sandbox to a production serving layer.
Keep the language of the policy short enough that people read it. Two pages is plenty. The detail belongs in the settings and in the audit check, not in prose.
What evidence will an examiner want?
Expect questions about who approved each model, what data may go through it, where prompts are stored and how you know the rules are followed. The register, the approved list, the settings baseline and the quarterly review notes answer all four. Keep them with dates.
What should the approved model list record?
For each model, record the name and version, the source, the licence, the date of approval, the approver and the data classes it may handle. Add a note on known limits, such as a model that should not be used for customer-facing text. Keep the list in one place that people can search, and give each entry a review date. Models change quickly, so an entry with no review date is a future problem.
A short list is a feature. Teams that approve three models they understand do better than teams that approve thirty they cannot review.
When should a team leave Ollama?
Move to a production serving layer when more than a handful of people share a model, when customer data is involved, or when you need identity and audit. Ollama caps parallel requests per model and queues the rest (checked December 1, 2026), which is fine for a pilot and not designed as a shared service. See vLLM vs Ollama for the comparison and our Ollama security controls guide for the threat view.
The wider options, with sizing assumptions, are on our private LLM hosting page.


