Glossary
Need-to-know access
Need-to-know access limits information to people or processes whose assigned task requires it.
Governance
Need-to-know access is an authorization principle: a person or process receives information because a defined task requires that information, not merely because it has a broad role or technical ability to retrieve it. The relevant unit may be a record, field, source excerpt, or export. The principle is often paired with least privilege, which limits capabilities to those needed for assigned functions. Neither principle by itself specifies the correct business decision.
A practical policy maps tasks to permitted information and reviews those permissions as duties change. Retrieval systems must enforce restrictions before exposing snippets, search results, generated summaries, or citations; hiding the original document while revealing its contents in an answer defeats the purpose. Audit records can show access and policy changes. Exceptional access should have a defined reason, duration, and review path rather than becoming a standing blanket permission.
Defending a value requires showing evidence to an authorized reviewer while respecting the evidence owner's restrictions. That tension calls for a controlled inspection path, not for dropping provenance or exposing source material to everyone. Data residency governs permitted locations, while retention schedules govern duration. Need-to-know access governs who or what may inspect the information for a particular purpose, including during evaluation and later audit.
Example
A Halden Therapeutics AG (fictional) contract excerpt is visible to its assigned reviewer, while an unrelated analyst sees only that restricted evidence exists.
Principles and access-control models
Need-to-know is the idea that a person or process should be able to read only the information required for an assigned task. It is close to the principle of least privilege, which the NIST glossary defines as giving each user or process the minimum access necessary for its function. The principle has a long history: Saltzer and Schroeder listed least privilege among the design principles of protection mechanisms in 1975. The security controls catalogue NIST SP 800-53 includes access-enforcement and least-privilege controls, and NIST's zero trust architecture guidance builds on the same idea of granting access per request and per resource.
Access is decided by a model. Role-based access control, described in the NIST RBAC project, assigns permissions to roles. Attribute-based access control, set out in NIST SP 800-162, decides by evaluating attributes of the user, the resource and the context against policy, which suits need-to-know decisions that depend on the matter a person is working on. Whatever the model, the decision should be logged, so that access can be reviewed.
Where it is easy to get wrong with retrieval and generation
Systems that retrieve documents for a language model add new ways to leak. A search index built over all documents can return passages the user may not see, if the permission check is applied to the document list and not to the passages. A summary generated from restricted documents carries their content into an answer visible to someone without permission. A cache that stores an answer keyed on the question serves it to the next user. A log of prompts holds restricted text in a place with different access. Permission must therefore be enforced at retrieval time, per passage, with the user's identity, and the context passed to the model must contain only what that user may read.
Test it. The article on permission-aware RAG evaluation describes how to construct users with different permissions and probe for leakage through retrieval, summaries and citations. Include the negative case that matters for defensibility: a user without permission asks a question whose answer exists only in restricted material, and the system should say that it cannot answer from what the user may see, without revealing that restricted material exists if the existence is itself sensitive.
A worked example
A due-diligence assistant for a deal team at Halden Therapeutics AG (fictional) indexes a data room containing contracts, personnel files and board minutes. Access to personnel files is restricted to two members of the team. A junior analyst asks about the notice period of the executive team. Retrieval filters by the analyst's permissions before ranking, so only the commercial contract summaries are candidates. The assistant answers from those and states that employment terms are not available to this user. A test run with the permissions of a restricted user finds a summary of a personnel file in a shared cache from an earlier query; the cache is re-keyed to include the permission set, and the test is added to the regression suite.
Checks a reviewer can run
Ask where permissions are enforced: at the document, the passage or the answer. Run a set of probe questions as users with different permissions. Check caches, logs and indexes for restricted content. Ask how access decisions are logged and reviewed. Ask how permissions are removed when a role changes.
Related terms and boundaries
Need-to-know bounds what context engineering may place in a prompt, interacts with data residency, and is evidenced through the audit trail. It also governs access to retained source copies, which may be more sensitive than the summaries derived from them.
Common misreadings
- Filtering source documents but leaking their text through generated answers.
- Granting access by broad job title without a task need.
- Keeping temporary exceptional access indefinitely.
Appears in
- Separating reader clearance
Specify who may inspect each value and its evidence, including passages that disclose restricted material.
References
- NIST SP 800-53 Rev. 5, Security and Privacy Controls for Information Systems and Organizations (2020), AC-6.
- NIST Computer Security Resource Center Glossary, least privilege.
- NIST SP 800-53 Rev. 5, Security and Privacy Controls for Information Systems and Organizations.
- NIST SP 800-162, Guide to Attribute Based Access Control (ABAC) Definition and Considerations.
- NIST, Role Based Access Control project.
- Saltzer and Schroeder (1975), The Protection of Information in Computer Systems, Proceedings of the IEEE.
- NIST SP 800-207, Zero Trust Architecture.
Found an error on this page? See corrections for what counts as one, how to report it and the dated log.
Enquiry
Where does "Need-to-know access" bear on a decision of yours?
This entry sits under governance. If a decision in your organization turns on it, send the entity concerned, the sources you fuse to describe it and who may read which of them. We reply with what a first record would cover.
Or write to [email protected] in your own words.