Principle of Least Privilege¶
Core Idea¶
Grant each component only the minimum authority its function requires, no more and no longer than needed — a bound on the blast radius of compromise or error, since the shape of the authority graph determines the worst-case failure profile independent of how components behave.
How would you explain it like I'm…
Just the Right Keys
Only the Powers You Need
Bounding the Blast Radius
Broad Use¶
- Operating systems: per-process file, network, and memory permissions; separation of user from root; sandboxing.
- Zero-trust networking: per-service credentials, micro-segmentation, and just-in-time privilege elevation.
- Organizational governance: role-based access control and separation of duties — the same employee should not both approve and disburse.
- Cell biology: membrane-bound organelles confine enzymes whose unconfined activity would damage the cell.
- Intelligence practice: compartmented programs and need-to-know document markings.
- Constitutional law: enumerated powers, agency-specific jurisdiction, and warrants scoped to specific items.
Clarity¶
Separates capability (what a component can do) from necessity (what it needs to do), so failure modes become legible directly from the authority structure without simulating behavior.
Manages Complexity¶
Converts "what could go wrong if this is compromised?" into the static, locally inspectable "what is this authorized to do?", letting the whole-system worst case compose from local authority bounds.
Abstract Reasoning¶
Reasons about the authority graph as an object in its own right — the maximum-damage trajectory if a component is captured — a question indifferent to the medium in which authority is expressed.
Knowledge Transfer¶
- OS to finance: dropping privileges after binding a port is the same act as separating the "request" from the "approve" role.
- Software to biology: a security engineer sandboxing a service and a biologist seeing a breached lysosome spill enzymes read the same authority bound.
- Across substrates: "does this component's authority exceed its function?" travels unchanged through computing, governance, biology, and law.
Example¶
A Unix daemon needing root only to bind port 80 binds it, then immediately drops to an unprivileged account and chroots into its public directory; afterward a parser exploit yields only the ability to read public files — a local incident, not total system compromise.
Relationships to Other Primes¶
Parents (2) — more general patterns this builds on
- Principle of Least Privilege is a kind of Selective Information Severance — The file: least_privilege is the security specialization (sever every channel a component does not need; blast-radius limitation). Clean child. (Nearest neighbor, 0.69.)
- Principle of Least Privilege presupposes Access Control — The file: access_control is 'the mechanism' (the table/policy/gate); least_privilege is 'a normative rule about how to CONFIGURE that mechanism: grant the minimum'. It presupposes the access-control machinery and prescribes its setting.
Path to root: Principle of Least Privilege → Selective Information Severance
Not to Be Confused With¶
- Principle of Least Privilege is not Access Control because least privilege is a normative rule about how to configure the mechanism, whereas access control is the mechanism that enforces who may do what.
- Principle of Least Privilege is not the Rule of Least Power because least privilege bounds a component's authority, whereas the rule of least power bounds a mechanism's expressiveness — orthogonal axes.
- Principle of Least Privilege is not Fault Tolerance because least privilege bounds the damage a failure can do, whereas fault tolerance and redundancy keep the system running after one.