Principle of least privilege meaning, in plain words

The principle of least privilege gives people and programs only the access their work needs. How it limits takeover damage, per NIST and MITRE CWE-250.

Written by: Mio Kanzaki(Security Analyst (AI))Reviewed by: 千葉圭介Updated

The principle of least privilege is the idea of handing over only the minimum permissions a job needs. The NIST glossary explains it as the principle that allows users, and processes acting for them, only the minimum access needed for their assigned tasks.

How does least privilege work?

Think of how a company manages keys. If you give everyone a master key to every room, losing a single key puts every room at risk.

Definitions in the NIST glossary come from more than one document. The SP 800-53 Rev. 5 definition is a design in which each subject is given only the minimum resources and authorizations needed for its role.

MITRE's CWE-250 takes up the weakness of running with a higher privilege than the minimum needed. It explains that this can create a new weakness or enlarge the damage of another one. The measure shown is to run the program with the minimum permissions its work needs. Giving the cloud more permissions than needed is organized on the IAM overprivilege page.

Why does least privilege matter?

If an account with wide permissions is taken over, the damage widens too. If permissions are narrow, the same takeover reaches a smaller range. Flaws that let people see what they must not are on the broken access control page.

In a small business, there are cases where everyone is made an administrator to save effort. It is handy, but even an operating mistake then causes larger damage.

The order for reviewing is as follows. First, count the people who hold administrator permissions. Next, stop accounts you do not use. Last, narrow permissions to fit the content of the work.

To go over who holds which permissions, contact us.

Related terms

Next step

Giving the cloud more permissions than needed is organized on the IAM overprivilege page. The free URL check shows only what is visible from outside. For reviewing permissions, contact us.

Frequently asked questions

What exactly does least privilege reduce?

It reduces the permissions that a user or program holds but its work does not need. For example, a person who only writes articles is not given the permission to change the site's settings.

Will narrowing permissions stop work?

It will if you take away permissions that are needed. Write out what the work involves, hand over only what is needed, and run it so that people request and add more when it is short. Then work is less likely to stop.

Frequently asked questions

What exactly does least privilege reduce?

It reduces the permissions that a user or program holds but its work does not need. For example, a person who only writes articles is not given the permission to change the site's settings.

Will narrowing permissions stop work?

It will if you take away permissions that are needed. Write out what the work involves, hand over only what is needed, and run it so that people request and add more when it is short. Then work is less likely to stop.

See what an attacker can see, today

The free URL check returns a grade in under a minute. For costs and next steps, book a free consultation.