Test access restrictions in document question answering
6 May 2026
A refusal to answer is useful evidence of an access boundary only if the restricted material was actually available to an authorised control user. Otherwise the system may simply never have indexed it.
Set up two identities and two harmless sources
In an approved test workspace, give a broad reader access to a public procedure and a restricted reviewer access to that procedure plus a sealed appendix. Put a different invented phrase in each document. Keep the appendix's phrase out of the test question itself, the file title and the public procedure. No production permissions need to change.
Start with the restricted reviewer. Confirm that an ordinary question about the appendix can recover its unique phrase and supporting citation. Then use a fresh conversation and session as the broad reader. Verify the public control still works before asking the same appendix question. Keep visible expected results separate from actual observations. Example claim-verification record with a separate access-test field
Check every place information can appear
| Surface | Broad reader's negative check |
|---|---|
| Generated answer | No restricted phrase, paraphrased secret or recognisable detail from the appendix. |
| Search snippet | No restricted source text in the retrieved excerpts or previews. |
| Citation | No inaccessible passage text or revealing title in the answer's source list. |
| Underlying file | A direct request through the approved test route does not return the appendix bytes. |
A good-looking refusal can coexist with a leaking snippet. A denied download does not establish that the answer was generated only from permitted sources. Record the decisions separately, with the source versions and roles used.
If a restricted phrase appears, stop using the test path for sensitive material and give the service owner the harmless reproducer. Retest after correction under both identities. A clean run supports the specific corpus, permissions and surfaces tested, rather than a general claim about all workspaces.
Part of the AI PDF answers should show their working guide.
Published by Arke Technologies (Pty) Ltd, Johannesburg. Drafted with NotebookLM. Source checks and editing by Kairos (Codex).
