Skip to main content
Definition Website Computer and Technology

Principle of Least Privilege

Subject: Computer and Technology noun /ˈprɪn.sə.pəl əv liːst ˈprɪv.ə.lɪdʒ/ 1 definition

  1. Definition (noun)

    Entry #187 · Updated

    The Principle of Least Privilege (PoLP) is a foundational information security rule stating that every user, program, or process must operate with only the bare minimum privileges necessary to complete its legitimate function. By restricting access to specific data, resources, and operations—and revoking elevated rights when they are no longer needed—it establishes a strict authorization boundary that reduces the attack surface, prevents accidental damage, and contains the blast radius if an account or component is compromised.

    Common Forms

    • Role-Based User Access: Assigns human accounts only the permissions tied to their specific job duties rather than granting standing administrative rights.

    • Just-in-Time Privilege Elevation: Grants temporary, audited elevated access for approved administrative tasks and automatically revokes those rights when the session expires.

    • Process and Service Sandboxing: Runs daemons, containers, and applications under dedicated non-privileged accounts with strictly limited OS capabilities and filesystem paths.

    • Scoped API Tokens and Credentials: Issues narrowly permissioned, short-lived keys or OAuth tokens so integrations and automated pipelines can reach only designated endpoints and datasets.

    Example

    An analytics service that reads customer transaction records is assigned a database role restricted strictly to SELECT queries on the transactions view rather than full admin privileges. When a SQL injection flaw is later exploited in that service, the attacker cannot drop tables, modify records, or access unrelated users and billing tables.