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.
- Abuse prevention
- Backend services (SSRF)
- Browser controls (headers)
- Request validation (CSRF)
- Authorization
- Authentication
- Input
Show answer & explanation
Correct order:
- Input
- Authentication
- Authorization
- Request validation (CSRF)
- Browser controls (headers)
- Backend services (SSRF)
- 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.