Home› Insights› Check what your AI assistant can actually access
AI Governance

Check what your AI assistant can actually access

By QuantalAI Solutions Team · 22/09/2026 · Updated 09/10/2026

Test AI connector permissions with named users, allowed documents, blocked records and revoked access. Keep read access separate from permission to act.

A connector grants some form of access; its exact scope depends on the product and configuration. Connecting an assistant to a document store does not, by itself, prove that every company file becomes readable. It also does not prove that the assistant preserves each user’s existing permissions.

The useful question is testable: for this user, through this assistant, which records and actions are available?

Start with identities and a small access matrix

Consider a fictional sales assistant connected to approved supplier terms. Sales staff may read published terms, finance staff may also read draft pricing, and employee records are outside the assistant’s purpose altogether.

Test materialSales userFinance userExpected assistant behaviour
Approved supplier termsAllowedAllowedAnswer with the applicable source
Draft pricingDeniedAllowed within the agreed scopeExclude it from sales-user retrieval and answers
Employee recordOutside this assistant’s scopeOutside this assistant’s scopeDo not ingest or retrieve it for this workflow
Source access revokedDeniedDepends on current permissionsApply the documented revocation rule

This is an example policy, not a description of a particular vendor’s defaults. Use fabricated records with recognisable test phrases to check it before introducing sensitive material.

Identify the account used to read the source. A connector running as the signed-in user and a shared service account with broad access can expose very different sets of records. Also identify who can change that account’s permissions or add another source.

Check the search index as well as the source

An application may copy document text into a search index. The original file’s permissions need an explicit counterpart in the retrieval path; a user-facing folder restriction alone does not establish what the copied index will return.

Microsoft’s document-level access guidance for Azure AI Search describes permission checks and filtering at query time. It distinguishes application-supplied security filters from supported identity-based mechanisms. The relevant lesson for an assessment is to verify the mechanism actually configured, including its feature and version limits, rather than assume every search service inherits source permissions automatically.

Test search results, direct document retrieval, citations and generated answers using each relevant user identity. In the example, ask the sales user for the draft price by its title, by a phrase within it and as part of a broader supplier summary. An empty search screen is insufficient if a direct lookup still returns the text.

Repeat after access is revoked. Record the permitted propagation delay and what happens to cached answers and existing conversation history. Some information may already have been shown to a user; revocation cannot make that earlier disclosure disappear.

Treat reading and acting as separate permissions

A tool that reads supplier terms does not need permission to change them. Drafting an email is also different from sending it. Give each operation its own allowed scope and approval rule where appropriate.

OWASP’s Excessive Agency guidance recommends limiting tool permissions and enforcing authorisation in downstream systems, with approval for high-impact actions. These controls should not depend solely on the model deciding that a request seems appropriate.

For the example assistant, verify that an instruction inside a retrieved document cannot cause it to expand its access or send a message. Test the destination tool’s enforcement directly as well as the assistant’s response. A refusal message is not proof that an attempted action was blocked.

Keep evidence of the configuration you tested

Record the users, source collection, connector identity, granted operations, index configuration and test outcomes. Include an owner and the events that require another check: a new source, an account change, a connector update or a change to the allowed actions.

Use this record to scope an AI agent access review or an integration assessment. The aim is a demonstrable boundary around a useful task, rather than trusting a broad promise that an assistant can access everything safely.

Frequently asked questions

Does connecting a drive give every user access to every file?
Not automatically. The result depends on the connector, the account used, its granted scope, document permissions and how the application enforces access. Test the actual configuration.
Can a prompt prevent disclosure of a restricted file?
A prompt can describe intended behaviour, but it should not be the access-control mechanism. Enforce permissions before restricted material reaches the model and on every relevant downstream request.
Is read-only access harmless?
No. Reading can still expose confidential information through an answer, a retrieved passage or a log. Read-only access removes certain write actions; it does not remove disclosure risk.
Does removing access to the original file remove every copy?
Do not assume so. Check indexed text, cached answers, conversation history and logs against the system’s revocation and retention design. Previously disclosed information cannot simply be recalled.