Authorization: Checking what someone is allowed to do after they have logged in, such as which pages they can open, which data they can see, and which actions they can perform.
Example
You can log in to the project tool and view all tasks, but only admins are authorized to delete a project. When you try, you see "You don't have permission to do this".
How Authorization Usually Works
Most applications give each user one or more roles, such as viewer, editor, or admin. Each role has permissions, such as "can edit orders" or "can delete users". Every time a user tries an action, the application checks whether their role allows it.
| Role | Can view | Can edit | Can delete |
|---|---|---|---|
| Viewer | Yes | No | No |
| Editor | Yes | Yes | No |
| Admin | Yes | Yes | Yes |
Authorization vs Authentication
Authentication confirms who you are. Authorization decides what you can do. An API returns 401 when it doesn't know who you are, and 403 when it knows but you are not allowed.
A Common Beginner Mistake
Hiding a button on the screen is not authorization. If the backend doesn't also check permissions, anyone can call the API directly and perform the action. Always check permissions on the server, and write a test for it.
Related terms
- Authentication: the login step that comes before authorization.
- API: where permission checks must be enforced.
- Backend: the right place to check permissions.
- HTTP: a 403 status code means the request is not authorized.
Previous term: Authentication | Next term: Automation Testing
Related guides
- Technical Interview Questions for Freshers
- Frontend vs Backend: Which Is Better for an Internship?
- How to Explain Your College Project in an Interview
Frequently asked questions
What is authorization in simple words?
Authorization is checking what a logged-in user is allowed to do, such as which pages they can see or which actions they can perform.
What is role-based access control?
It is a common way to manage authorization by giving users roles, such as viewer or admin, and giving each role a set of permissions.
What is the difference between 401 and 403?
401 means the request is not authenticated: the server doesn't know who you are. 403 means you are known, but not allowed to do this.
Is hiding a button enough for authorization?
No. The server must check permissions too, because anyone can call the API directly.
Explore more internship terms
The IT Internship Glossary explains 199 terms you will hear before and during your internship, with simple definitions and real examples.
Browse all 199 terms