Principle of Least Privilege
Also known as: Least privilege, Principle of minimal privilege, PoLP
Security principle that every user, program and process should have only the minimum access rights needed to perform its legitimate function.
The principle of least privilege holds that each part of a system, whether a person, an application, a service account or a process, should be granted only the permissions it needs to do its job, and only for as long as it needs them. An accounting clerk does not need administrator rights, a web server does not need to read employees' email and a photo app does not need constant access to location. Limiting privileges reduces both the chance of mistakes and the damage an attacker can do after compromising any single component.
Jerome Saltzer and Michael Schroeder listed least privilege among their design principles for protecting information in computer systems in a widely cited 1975 paper. The idea appears throughout computing: Unix separates ordinary users from the root account, mobile apps request specific permissions, cloud platforms use fine-grained identity policies and sandboxing confines individual processes. Related practices include role-based access control, just-in-time elevation that grants administrative rights temporarily and separation of duties, which prevents any one person from completing a sensitive action alone.
Least privilege is a foundation of zero trust and defense in depth, and it limits the lateral movement that turns a small breach into a large one. In practice, permissions tend to accumulate as people change roles and systems evolve, so regular access reviews and automated detection of unused rights are needed. The principle also applies to personal OPSEC, through need-to-know information sharing and granting apps only the permissions they truly require. Its main cost is friction, which careful design and good tooling can reduce.
Key points
- Every user and process should hold only the permissions its legitimate task requires.
- Saltzer and Schroeder described least privilege as a core design principle in 1975.
- Limiting privileges reduces both accidental damage and an attacker's ability to move laterally.
- Permissions accumulate over time, so regular access reviews are needed to maintain least privilege.
Related entries
Zero Trust
Security model that treats no user, device or network location as trusted by default and verifies every access request continuously.
Defense in Depth
Security strategy that layers multiple independent safeguards so that if one control fails, others still protect systems and data.
Need to Know
Access principle under which information is shared only with people who require it to carry out their duties, regardless of their rank or clearance.
Sandboxing
Security technique that runs programs in a restricted, isolated environment so that malicious or faulty code cannot harm the rest of the system.
Compartmentalization
Security practice of separating information, identities, activities or systems into isolated parts so that a compromise of one does not expose the others.
Security Hardening
Process of reducing a system's vulnerability by removing unnecessary functions, tightening configuration and applying secure defaults and updates.
Attack Surface
The total set of points where an unauthorized party could try to enter, extract data from or otherwise attack a system, network or organization.
Secrets Management
Tools and practices for securely storing, distributing, rotating and auditing credentials such as passwords, API keys, tokens and encryption keys.
Featured in guides
Referenced by
Other entries that discuss or point to Principle of Least Privilege.