Skip to content

OrderNot attempted

The security layers

Order the layers a request passes through, from first to last.

Drag the rows, or use the arrows, to put them in order from first to last.

  1. Abuse prevention
  2. Backend services (SSRF)
  3. Browser controls (headers)
  4. Request validation (CSRF)
  5. Authorization
  6. Authentication
  7. Input
Show answer & explanation

Correct order:

  1. Input
  2. Authentication
  3. Authorization
  4. Request validation (CSRF)
  5. Browser controls (headers)
  6. Backend services (SSRF)
  7. Abuse prevention

Each layer exists because the one before it can fail. Escaping input does not stop IDOR, and auth does not stop CSRF, so no single control is enough.