IICTPIICTP

Blog / Guides

Answers1 November 20264 min read

What is the principle of least privilege?

The principle of least privilege says that every person, program and service should have only the access it needs to do its job, and no more. It limits the damage if an account is stolen, a program is compromised or someone makes a mistake.

In this post
  1. Why does it matter?
  2. What are examples?
  3. How do you apply it?
  4. How do you keep it from eroding?
  5. How does it relate to zero trust?
  6. Sources and further reading

Why does it matter?

Access that is not needed is access an attacker can use. If a stolen credential can only read one table, the harm is small. If it can change everything, one mistake or one breach can take down the whole system.

What are examples?

A database account for a reporting tool that can only read. A deployment pipeline that can update one service and not the whole cloud account. A support agent who can see tickets but not payment details. A container that runs without administrator rights.

How do you apply it?

Start with no access and add what is required. Group permissions into roles that match real jobs, avoid shared accounts, and give high-power access only for a limited time and with approval. Prefer short-lived credentials to permanent keys.

How do you keep it from eroding?

Access tends to grow and rarely shrinks. Review who has what on a schedule, remove access when people change roles or leave, and check for unused permissions. Log use of powerful accounts.

How does it relate to zero trust?

It is one of its core ideas. A zero trust design assumes any account could be compromised, so each one’s reach is kept small. See what is zero trust.

Sources and further reading

  1. NIST. SP 800-53, control AC-6 Least Privilege. csrc.nist.gov.
  2. OWASP. Access Control Cheat Sheet. cheatsheetseries.owasp.org.

IICTP is an independent technical credentialing body.

Keep reading

← All posts

Where do you stand?

Find the credential that fits the work you do.