Skip to main content
Orion Five Engineering
Book a scoping call

10 Jalan Kilang #04-05, Singapore 159410
+65 6100 5505

Systems integration

The access control your unified data layer just lost

Connecting scattered data is step one. The moment that unified data feeds or trains a model, the permissions that used to separate finance from HR do not automatically come with it.

Terence Kok · 2026-07-29 · 5 min read

A matte white machined enclosure with a recessed keyed access port on its face, the port ring red and lit from within.

A model does not check anyone's job title before it answers. Whatever it can read, it can repeat — and the controls that made the source systems safe lived in those systems, not in the documents themselves.

This is the second problem created by solving the first one. It is worth anticipating at design time, because both of the mechanisms behind it are difficult to detect afterwards.

Two mechanisms, two different fixes

  1. Retrieval serves a document the asker should not see. The fix is to filter at query time against the asker's actual entitlements, not to rely on what was indexed.
  2. Fine-tuning memorises the fact itself, so the restricted content is inside the weights and no retrieval filter can intercept it. The fix is to exclude it before training, because afterwards there is nothing to filter.

Move the control to the query

The durable pattern is to stop treating access as a property of the document and start treating it as a property of the request: who is asking, what are they entitled to, and does this retrieval respect that before anything reaches the model.

Then test it the way an attacker would, before one does. Ask the system, as a low-privilege user, for something only a high-privilege user should have. That test takes an afternoon and it is not in most acceptance criteria.

All insights