The principle in one sentence
The principle of least privilege says that a person, application or account should have only the access needed to do its job, and no more. A payroll clerk needs to see payroll records but not source code. A reporting tool needs to read from a database but probably not to delete from it.
The idea is simple to state. It is harder to practice, because needs change, convenience pulls the other way, and the cost of too much access is invisible until something goes wrong. This article covers what the principle means in practice and how organizations keep it working. It is general information, not security advice.
Why it is worth the effort
Access that is not needed gives no benefit and creates exposure. Possible consequences of excess access include:
- Accidents. A person with wide rights can delete or alter something by mistake that a narrower account could not touch.
- Misuse. Most employees are trustworthy, but a small number of people with excessive access can cause disproportionate harm, and broad access makes it harder to detect.
- Compromise. If an attacker takes over an account, they inherit whatever it can reach. A narrowly scoped account limits the damage.
- Spread. Software with excessive rights can carry out unintended actions if it malfunctions or is exploited.
Limiting access does not make incidents impossible. It tends to reduce how far they spread and how much work is needed to recover. The size of the benefit is uncertain and depends on the organization.
What it means in practice
Start from tasks
Rather than asking what a person might conceivably need, ask what tasks their job involves and which permissions those tasks require. Read-only access is often enough where editing is not part of the work. Access to one project or department is often enough where company-wide access has been the default.
Consider several levels
- Which systems someone can reach.
- Which data within those systems, such as one team’s records rather than everyone’s.
- Which actions, such as view, edit, approve or delete.
- When, if access is needed only for a project or time period.
Apply it to more than staff
The principle covers software and automated accounts as well. Service accounts, integrations and scripts frequently run with far more power than they need because it was quicker to set up that way. They are worth including.
Start with a safe default
A sensible default is that new accounts receive a basic package and anything more is requested and approved. The opposite default, where people have everything until someone objects, is harder to unwind. Defining standard packages by job function is where role-based access control proves useful.
Why it erodes
Least privilege is rarely lost in one decision. It fades gradually:
- Convenience. Granting a broad group is quicker than choosing exact permissions.
- Urgency. A temporary grant to solve an urgent problem is never removed.
- Role changes. People move and keep old access, as covered in the article on joiners, movers and leavers.
- Copying. New starters are set up to match a colleague, including that colleague’s historical extras.
- Fear of breaking things. Nobody wants to remove access when it might stop someone working.
- Lack of ownership. If nobody is responsible for a system’s permissions, nobody trims them.
Keeping it up over time
Because the drift is steady, maintenance has to be routine, not a one-off project.
- Review regularly. Access reviews ask owners and managers to confirm that access is still needed. Concentrate on sensitive systems and privileged accounts.
- Make temporary access temporary. Grant it with an end date, so the default is that it expires, not that it lingers.
- Handle role changes explicitly. A move should trigger removal of old access, not only addition of new access.
- Look at what is used. Access that has not been used for a long time is a candidate for removal, though infrequent but important tasks, such as year-end processing, need checking before anything is cut.
- Make removal safe. If access can be restored quickly when someone genuinely needs it, there is less hesitation about removing it.
- Record exceptions. When someone needs more than the standard, document who approved it, why, and when it will be reconsidered. A defined standards exception process keeps the exceptions visible.
- Assign owners. Every system and every role should have a named person who is responsible for its permissions.
Trade-offs
Least privilege has costs and should be applied with judgment.
- Friction. Narrow access means more requests, and people can feel slowed down. If the process is slow, they may find workarounds such as sharing logins, which is worse than the original problem.
- Admin effort. Defining and maintaining fine-grained permissions takes time. Small organizations may reasonably settle for a few broad roles and improve gradually.
- Central bottlenecks. If a central team approves all requests, it can become slow. Letting local system owners approve access to their own systems, within central rules, often works better.
- Business needs. Some roles genuinely require wide access, and in small teams, people often cover for each other. The aim is a considered level of access, not the narrowest possible one.
Where the stakes are high, such as financial systems, personal data or administrator rights, it is worth involving security and compliance professionals who can advise on what is proportionate for your organization.