Skip to content

Least privilege

Least privilege limits permissions to the required task and data scope. Necessary work remains possible while unnecessary powers are removed.

Also known asPrinciple of least privilege
Identity and access

Least privilege means giving a person or technical service only the rights and resources needed for the assigned task. The restriction concerns both the permitted action and its data scope.

An export service example

A hypothetical service produces order exports for a particular customer company. It needs to read the relevant orders and generate the export file. Deleting contracts or changing other companies' orders is outside that task.

The principle does not require making every account read-only: necessary editing must be explicitly permitted. Rights need review when duties change. An appropriate permission list alone does not demonstrate that every access path enforces it correctly.

Sources