Module 4 · Company and security

Network, access and isolated environment

Lesson 10 of 15 9 min lesson Updated on October 30, 2026
Progress in the course67%

In this lesson

A poorly protected local AI is worse than a cloud AI with a contract.

You will learn to decide who gets in, what stays closed and when to isolate the machine from the internet.

A house with a gate

Think of the AI server as a house. Ollama is the person who lives there. By default, it only answers people who are inside the house. For the team to use it, you open one door: the Open WebUI screen. Only that door, and it has a lock.

Three network rules

  1. Ollama stays closed. It answers only on its own machine. Only Open WebUI talks to it.
  2. The team comes in through the screen, with a login. One account per person, approved by the administrator.
  3. Nothing exposed to the internet. The machine stays on the internal network. People working from home come in through a VPN, which is a secure tunnel into the company.

Who gets in

List the people and give each one the least access that gets the job done. Someone who only chats needs a regular account. Only the person who manages it needs the admin dashboard. When someone leaves the company, their account is deactivated the same day.

Picture a clinic where three people use the AI with the same password. When one of them leaves, nobody changes it, and that person can still get in. That is what individual accounts are for.

Isolated environment

Once the model has been downloaded, it answers without the internet. For very sensitive data, such as medical records and payroll, you can take the machine off the internet. When you need to update, connect, download, test and disconnect again. This is what is called an isolated environment.

The price is the work of updating by hand. So isolate only what needs it. For everything else, a tightly closed internal network is enough.

Backup is security too

If the machine breaks, what do you lose? The accounts, the history, the document collections and the fixed instructions. Keep a copy of that data somewhere other than the machine, and test restoring it once. A backup that has never been tested is a hope, not a backup.

The models you can download again. What your team built on top of them, you cannot.

A simple test

Ask someone outside the company, or use your phone on 4G, to try to open the AI's internal address. If it opens, something is exposed. Fix it before you go on. It is the same test an intruder would run, only you run it first.

What about the everyday computer?

Not every local AI lives on a server. Sometimes it is a laptop on a business partner's desk. The same rule applies: Ollama closed, disk protected by a password, and no copy of the model or the conversations on a USB stick. A lost laptop with customer conversations on it is an incident, even if the AI is local.

What the pros know

By default, Ollama answers only on its own machine (127.0.0.1, port 11434). Anyone who changes the address with the OLLAMA_HOST variable opens it to the network, and its documentation does not describe any access password. In a Cisco study, 1,139 Ollama servers were reachable over the internet, with no authentication. About 20% had active models answering. That is why a professional never opens Ollama directly: they put a screen with a login in front of it, such as Open WebUI, and leave Ollama closed.

Careful

Connecting the local AI to the internet "just to test" is like leaving the door open "just for a minute". If you have to open it, close it the same day.

Practice · 10 min

  1. Confirm that Ollama answers only on its own machine.
  2. Using 4G on your phone, test whether the internal address opens. It should not.
  3. List who has an account and remove anyone who no longer needs one.

Summary

Sources

Read on October 30, 2026.

  1. Ollama, frequently asked questions: Ollama answers on 127.0.0.1, port 11434, by default; the address changes with OLLAMA_HOST.
  2. Cisco: study on Ollama servers exposed on the internet with no authentication.

Lesson quiz

Three situations to apply what you learned.

Lesson 10 of 15

Before moving on to the next lesson

Put what you saw into practice. The boxes stay checked in this browser, so you can come back later.

Have a question about this lesson? The IV Help team answers personally on WhatsApp.

Ask on WhatsApp