Skip to content
StackDecode
System Design
13. Security ArchitectureAnimated

Attribute-Based Access Control (ABAC)

Permissions from attributes and policies.

The idea

Decisions use attributes of the user, resource and context, such as department, owner and time.

Watch it work

Press play, pause, or step through. Some animations have settings you can change.

UserAppAuth serverResource APIclick "Sign in with X"
  • current message
  • earlier
  • failure or attack

The user starts in the app.

step:
1/8
from:
User
to:
App
1/8

Time runs downward. Solid arrows are requests, dashed arrows are replies.

Step by step

  1. 1Collect attributes
  2. 2Evaluate the policy
  3. 3Allow or deny
  4. 4Log the decision

Where it is used

Fine-grained rules.

Watch out for

Policies get hard to audit.

Related