Least privilege
The rule that every person or program should get only the access it needs for its job, and no more.
Least privilege means giving each user, program or key only the permissions its task requires: a tool that only reads data gets read access, not the power to change or delete it. If that account is stolen or misbehaves, the damage is limited to that small set of permissions. The cost is more care up front, and a narrowly scoped account will sometimes be refused something it turns out to need.
See also
- Authentication (and authorisation)
- Machine identity
- Allowlist
- Access token
- API key
- Deny by default
- Headscale
- Key rotation
Sources
- Least privilege (glossary)NISTofficial healthy, checked 2026-11-15 archived copy
- Principle of least privilegeWikipedia healthy, checked 2026-11-15 archived copy
In security catalogues
- AC-6 Least PrivilegeNIST SP 800-53 healthy, checked 2026-11-15 archived copy