Skip to content
IT glossary
SecurityUpdated December 3, 2026

Authorization

Авторизация

Authorization determines what a user or service is allowed to do. Someone may be allowed to view a document but not edit or delete it.

What authorization decides

Signing in to a help desk tells the application which account you're using. It doesn't tell the application whether that account can read a ticket, reassign it, or close it. Authentication establishes who is making the request; authorization checks whether the requested action is allowed. A policy can also allow anonymous access, such as reading a public help article.

What goes into an access decision

A useful way to express a check is: Can this subject perform this action on this resource? The subject might be a person or a service account, the action might be close, and the resource might be a particular ticket. The decision can also depend on context, such as the ticket's current state. If no rule grants access, the safe default is to deny it.

Role-based access control (RBAC) groups permissions into roles such as support agent or supervisor. Attribute-based access control (ABAC) evaluates properties such as the ticket's sensitivity or the user's department. You can combine these approaches: an agent role can grant permission to close tickets in principle, while a second rule limits that permission to tickets assigned to the agent.

Example: closing a support ticket

Suppose an agent can close a ticket only if it is open and assigned to them. On a close request, the server identifies the agent from a verified session, loads the ticket, and checks the agent's role, the ticket's assignee, and its status before saving the change. Reading the ticket can follow a different rule: for example, any agent on the assigned team may read it.

The important distinction is between permission to call an operation and permission to act on a particular record. A check that says “this account is an agent” doesn't settle whether the agent can close this ticket.

Where checks belong

Authorization applies to APIs, databases, file systems, and cloud services. In a web application, the front end can hide a Close button to avoid offering an unavailable action. The server still has to enforce the rule. An API gateway or middleware can handle broad access checks, but a rule tied to a specific record must be enforced by a component that can evaluate that record and its policy.

In HTTP, 401 Unauthorized usually indicates missing or invalid authentication credentials. 403 Forbidden means the server refuses the request, for example because a signed-in user lacks permission. A service may return 404 Not Found instead if it should not reveal that a protected resource exists.

How it comes up in interviews

You may be asked to add access control to a ticketing system or a shared workspace. Define which actions each role can take, then check whether those permissions apply across the whole system or only within a team or project. Describe a test that proves the action succeeds for an authorized user and another that proves a user with the same role but outside the allowed scope is denied.