liveBook · Manning

Principle of least privilege

As explained in Data-Driven Cybersecurity

The security principle and access-control practice of granting each subject only the minimum permissions required to perform authorized tasks.

The principle of least privilege means giving users only the access they need to perform their duties. It reduces opportunities for accidental or malicious data breaches and limits the damage if a user’s credentials are compromised. section 7.1.2

A laptop user does not need administrator access

A person using an organizational laptop need not be an administrator merely to use it. With administrator authority, that person could install potentially malicious software. Removing unneeded authority protects the asset without preventing its intended use. section 6.2

Put the principle into practice as roles and business needs change:

  • Define policies for who may access particular data and under what circumstances, considering roles and data sensitivity. section 7.1.7
  • Choose access controls suited to those policies. Role-based and attribute-based access control can offer flexibility and precision in dynamic organizations. section 7.1.2
  • Review permissions regularly and adjust them when responsibilities change; audit controls to check that access remains appropriate. section 7.1.7
Table 7.2 Unique features of different access controls models

DAC

MAC

RBAC

ABAC

Restrictiveness

Low

High

Medium

Medium

Control

High

Low

Medium

Medium

Flexibility

Low

Low

High

High

Policy maker

Owner

System

Roles

Attributes

Advantages

Easy privilege configuration

Highly secure

Supports large enterprises

Mitigates damage to data

Automated trust negotiation

Improves on RBAC

Disadvantages

Low storage capacity

Unauthorized privileges can be granted

Low storage capacity

Unable to modify security levels

Privileges depend on role

Requires investigation for defining attributes relevant to authorization decisions

Compare access control models by restrictiveness, control, flexibility, and who sets policy before deciding how to enforce minimum necessary access. section 7.1.2

Least privilege also belongs in secure system configuration. Applying it to access controls alongside other hardening measures helps keep deployed software and underlying systems from relying on overly broad permissions. section 7.4.5

How Data-Driven Cybersecurity covers it

How deep it goes
Defines the principle and calls for planning, adjustment, and audits, but gives no step-by-step permission review procedure.
Examples
Uses a laptop user without administrator access and a comparison table of access control models.
What you can do after
Operate/configure access permissions to match duties, then review and adjust them as roles or business needs change.
How it connects
Connects least privilege to access control, role-based access control, attribute-based access control, asset management, and system hardening.

Also explained in

Compare how 17 books explain principle of least privilege →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Data-Driven Cybersecurity. The section links point to the parts of the book it draws on.