Lesson 2 of 7 · About 4 minutes

Small permissions, smaller blast radius

Learn the concept.

Least privilege means granting only the access needed for a task. It applies to people, services, and automated processes.

Separate identity from access

A signed-in user or service still needs an explicit authorization decision.

Scope permissions

Restrict allowed actions and resources instead of granting broad administrative access for convenience.

Review and remove

Permissions should change when responsibilities change. Deny access when no rule authorizes it.

Field example02 / A

Put it in context

A fictional reporting service needs to read one dataset. It does not need to delete datasets, manage users, or administer the entire environment.

SEE THE IDEA

Match the permission to the task

A reporting service only needs to read the sales dataset.

Match the permission to the task
Requested actionDecisionReason
Read sales datasetAllowRequired for this report
Delete sales datasetDenyNot part of the job
Read payroll datasetDenyWrong resource
Manage user accountsDenyUnrelated administrative access
Least privilege limits both the action and the resource. The table describes a fictional intended policy.
Read the visualWould temporary administrator access be narrower than this policy?

No. A short lifetime does not make broad permissions narrow. Scope the access as well as its duration.

Make a decision.

Use what you just learned. A correct answer lets you save this lesson to your progress.

Take this with you.

Ask: which identity needs which action on which resource?

Read the original sources
YOUR LEARNING SPACE