Skip to content
StackDecode
System Design
13. Security ArchitectureAnimated

Authorisation

Deciding what you may do.

The idea

After identity is known, check permissions for each action.

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. 1Identify the user
  2. 2Find their roles or attributes
  3. 3Check the policy
  4. 4Allow or deny

Where it is used

Access control.

Watch out for

Check on the server on every request.

Related