Skip to content

Data control extends beyond the AI server

Local inference can constrain a data flow. A portal using external error logs shows why the rest of the application also needs examination.

Nora Henning2 min read
Small device with cloud and database symbol and a blue slider control.

A locally operated language model can enable an important data boundary. The extent of that control also depends on the application calling the model. Input may reach the correct model server yet be stored outside the approved environment at another point.

An internal model call with a second data path

In a fictional architecture, a project portal summarises internal notes through a self-managed model service. The normal call stays within the company's environment. On a processing error, however, the application sends the full request content to an external error service. Model processing remains local; the note has nevertheless left through the error path. This is a constructed counterexample, not an observed customer incident.

The model server alone cannot prevent this additional transfer in the application code. That transfer must be assessed at the portal and error service. A suitable design could record, for example, an error code and an operation reference instead of the note text. Which events are required remains a separate decision; disabling all logs would not solve the operational question.

The same applies within the environment: a local model does not automatically make a note visible only to the authorised project team. The application must limit access to inputs and results. OWASP explicitly treats sensitive data in the context of the whole LLM application and recommends access according to least privilege. Instructing the model not to reveal confidential data does not replace that access control.

When local operation is a strong argument

If business data must remain within the company's approved environment, a model service operated there can support precisely that requirement. The frontend, additional services, logs and backups must also respect that boundary. This control is a concrete advantage when it is actually implemented and checked.

The company needs the ability to update the model and runtime, manage access and restore the service after a fault. A managed service shifts agreed operating tasks to the provider. It may suit an approved data flow; its label says nothing about the specific processing and retention arrangements. No universal cost or security winner follows from this.

What observation changes the assessment

For the portal, a confirmed external copy of the note text would be a reason to withdraw the claim of a wholly internal data flow. If an examination instead shows that normal calls and error paths stay within the boundary and only authorised roles access content, the argument for local control gains weight. The Ollama FAQ already illustrates the distinction between local and cloud features for that product; examining the whole portal goes further.

Whether the sketched architecture meets these conditions would still need to be established by an examination.

Sources

Written by

  • Nora HenningEditor for IT SecurityNora Henning looks after the editorial content on IT security at ASES. She writes about application security and explains how access rights and the protection of company data are connected.

Follow ASES

Read more

All articles

AI & Automation with ASES

AI assistants and automated workflows