Get in touch

Resource · AI Guardrails

Enforce who can see what before the model answers

A company knowledge base without document-level access control is a leak waiting for a clever prompt. CISOs and Heads of Engineering need retrieval that respects identity before tokens reach the model.

Get in touch

The wrong default

Many stacks retrieve top-k chunks for any logged-in user, then ask the model to “be careful.” That fails. Restricted HR and finance docs still enter the context window. Metadata filters that run after generation cannot unsend what the model already saw.

InfoSec blocks the rollout, or you ship an assistant that violates the same ACLs your Drive and Confluence already enforce.

What “secure enough” requires

  • Identity in the retrieval path. Pass user or service identity (for example JWT claims from your IdP) into the search layer, not only into the chat UI.
  • Pre-retrieval filters. Restrict candidates by document ACL, department, or row-level tags before ranking. Prefer the same source of truth as your content systems.
  • Policy outside the model. Prompts, retrieved chunks, and tool descriptions are untrusted. The security boundary must sit below the model: deterministic filters and tool ACLs the assistant cannot rewrite. “Be careful” in the system prompt is not a control.
  • Synced permissions. When someone loses access in Okta or Entra, the next query must reflect that. Stale ACL copies recreate the leak.
  • Tools and memory too. If the assistant can call CRM, Drive, or HR APIs, those tools need the same least-privilege rules. Agent memory must not store attacker-written “new access rules.”
  • Auditability. Log which sources and tools supported an answer. You need that trail for incidents and for trust with operators.

How we approach it

  1. Map the permission model Inventory who may read which corpora today. Align assistant scopes with existing groups; do not invent a parallel ACL universe.
  2. Wire dual-stage retrieval Filter by identity metadata, then retrieve and cite. Keep generation blind to documents the user cannot open.
  3. Prove it in a pilot Test with real roles and restricted docs. Fail the pilot if a cross-team prompt can surface forbidden content.

What you get

Bring the roles InfoSec cares about. We walk a knowledge path they can review: structured corpus, ACL-aware retrieval, tool boundaries, citation behavior, and a scoped build that respects how your company already controls documents. Document ACL alone is necessary; defense in depth is what survives review when assistants also call tools.

Get in touch AI assistants solution →