What is Authorization?
1 min read
Updated 2026-02-05
The process of determining what actions an authenticated user is allowed to perform. Often confused with authentication, but they serve different purposes.
Understanding Authorization
Authorization answers the question "What can you do?" After a user is authenticated, authorization determines their permissions. Broken authorization is extremely common and can lead to unauthorized data access or privilege escalation.
Examples
- A regular user trying to access admin-only endpoints
- Accessing another user's private data by changing an ID in the URL
- Performing actions beyond your role (e.g., deleting resources you don't own)
How to Prevent
- Implement role-based access control (RBAC)
- Always verify permissions server-side
- Use indirect object references instead of direct database IDs
- Log and monitor authorization failures
Worried about Authorization in your app?
Our security audits identify vulnerabilities like this before attackers do. Get expert manual review of your codebase.