top of page

What is Authorisation?

Oct 26
10 min read
What is Authorisation?

 

Authorisation is the process of deciding whether a requester is allowed to perform a particular action on a particular resource. A service might allow an employee to read a file but prevent them from deleting it, or allow a device to publish sensor readings without changing the administrator settings.

 

Authentication and authorisation work together but answer different questions. Authentication checks an identity claim or proof of control. Authorisation applies a policy to the request. A successful login does not automatically give someone permission to view every account, file or setting.

 

What goes into an authorisation decision?

 

A useful decision considers more than a username. It identifies the requester, the operation, the resource and any conditions that the policy requires. The decision must then be enforced at the point where the protected action can actually happen.

 

Part of a request

Question

Example

Subject

Who or what is making the request?

An employee, service account or device.

Action

What is being requested?

Read, edit, delete or share.

Resource

Which specific item or service is affected?

One customer's invoice or one router setting.

Context

What conditions matter?

Device status, time, location or a valid delegation.

Policy

What rules determine the result?

A support role can read assigned customer records.

 

A subject can also be anonymous when a service deliberately permits public access. Authorisation still has a role: a public visitor might read a published page but cannot change it. A decision can be allow or deny, with an implementation-specific response when policy or required information cannot be evaluated.

 

Authentication, authorisation and accounting

 

Authentication checks whether a user, device or service can prove a claimed identity. Authorisation decides what that identity can do. Accounting or auditing records relevant activity, such as a permission change or an access decision. Together these are often described as authentication, authorisation and accounting, or AAA.

 

Imagine a contractor signs in to a cloud dashboard using a passkey. The successful sign-in identifies the account under the service's rules. A separate policy determines whether that account can view usage, change DNS records or invite another user. An audit record can show a relevant change afterwards. Strong sign-in helps protect the account, but it does not make overly broad permissions safe.

 

The illustration shows identity, request, policy, decision, enforcement and review. Each stage matters: a policy can be correct on paper yet ineffective if an API, download link or background service bypasses the enforcement point.

 

Authorisation infographic showing identity, request, policy, access decision, enforcement and permission review

 

Follow a single request

 

Consider a support employee asking to view an invoice for customer A. The employee has already signed in, and the service has a policy allowing support staff to view invoices for customers assigned to them.

 

  1. The service identifies the requester from a validated session or other appropriate credential.

  2. The request identifies an action, such as read, and a particular invoice.

  3. The service obtains the relevant role, assignment and resource information from trusted sources.

  4. The policy is evaluated against the requester, action and specific invoice.

  5. The application enforces allow or deny before returning the protected data.

  6. Where appropriate, it records the decision and enough context to investigate without logging secrets or unnecessary personal data.

 

A user interface can hide a button to make the experience clearer, but hiding it is not an access control. The server or other trusted enforcement point must also check a request made directly to the underlying service. The OWASP authorisation guidance recommends least privilege, deny by default and validating permissions on every request.

 

Roles, attributes and relationships

 

Different systems express policies in different ways. They can combine several approaches, and the labels do not guarantee that a particular product uses them safely.

 

Approach

How a decision is expressed

Example and limitation

Role-based access control

Permissions are associated with roles assigned to subjects.

A support role can view tickets. The role still needs appropriate scope and review.

Attribute-based access control

Policy evaluates attributes of the subject, resource, action and sometimes environment.

Allow access when department and classification satisfy policy. Attribute accuracy and freshness matter.

Relationship-based access control

Policy uses relationships between subjects and resources.

A user can edit a document shared with their team. Relationship changes must be reflected reliably.

Access control list

Rules or entries specify who or what may access a resource.

A file or network ACL permits or denies defined access. Ordering and semantics depend on the system.

 

The NIST guide to attribute-based access control describes decisions based on subject, object, operation and environmental attributes. A role can itself be an attribute in a broader policy. More conditions do not automatically make access safer if the data is stale, the rules conflict or an enforcement point is missed.

 

Network access control lists often filter traffic by addresses, ports or protocols. That is useful, but a network rule permitting a connection does not automatically decide whether the person using an application may read a particular invoice. Apply controls at the relevant layers.

 

Least privilege and deny by default

 

Least privilege means granting the minimum access needed for a defined task and reviewing it as the task changes. A monitoring service might need read-only access to selected status metrics, while an administrator may need temporary permission to change configuration. Neither should automatically receive unrestricted access to unrelated data.

 

Deny by default means a request is not permitted merely because no rule explicitly blocks it. An authorised exception should be deliberate and testable. A public web page can still be deliberately allowed; deny by default describes the policy's fallback, not a requirement to make every resource private.

 

Least privilege also has a time dimension. Access needed for an incident or a contractor's project may no longer be needed later. Use supported expiry, approval and review processes, and remove access when the reason ends. An access review must include service accounts, API tokens, sharing links, inherited permissions and emergency accounts as well as human users.

 

The object-level problem: signed in is not enough

 

Suppose two customers each have an account with the same basic role. Both are permitted to view their own invoices. The service must check the relationship between the authenticated requester and the specific invoice being requested, not simply that the requester has the role customer.

 

If changing an invoice identifier in a request returns another customer's data, the authorisation check has failed at the object level. Random-looking identifiers can make guessing harder, but they are not a substitute for a permission check. Similar checks may be needed for individual fields and operations, such as preventing a customer from changing a price or account status.

 

Test only systems you are authorised to assess, using designated accounts and test data. For each endpoint, verify both permitted and denied cases, including direct API requests, exports and background operations. Check that denial prevents the data or action itself, rather than only changing the page that displays it.

 

A worked access matrix

 

Imagine a small UK business with two customers, a support worker and an administrator. The policy below is hypothetical and deliberately simple. It is not a test of any real service.

 

Requester

Resource or action

Example decision

Customer A

Customer A invoice

Allow read

Customer A

Customer B invoice

Deny

Customer A

Change global settings

Deny

Support worker assigned to A

Customer A invoice

Allow read for support

Support worker assigned to A

Customer B invoice

Deny unless separately assigned

Support worker assigned to A

Change global settings

Deny

Administrator

Customer A invoice

Read where approved role permits

Administrator

Customer B invoice

Read where approved role permits

Administrator

Change global settings

Allow only specified administrative changes

 

The matrix contains nine combinations of requester, resource or action: three requesters multiplied by three resource or action categories. It is a starting point, not a complete test suite. Add other actions, unassigned staff, expired sessions, delegation changes and failure conditions. The administrator entries also need explicit scope: a broad role name is not evidence that every administrative action is justified.

 

The important test is not only whether an authorised customer can see their invoice. It is whether a validly signed-in customer is denied a different customer's invoice, whether a support assignment is enforced, and whether access stops when an assignment is removed. Audit the policy and its implementation together.

 

OAuth permissions and access tokens

 

OAuth 2.0 is an authorisation framework that can let a client obtain limited access to a protected resource without giving the client the user's password. The exact flow and trust relationships depend on the deployment. OpenID Connect builds an identity layer on OAuth 2.0; an OAuth access token alone should not be treated as proof of a user's identity for every purpose.

 

A service can issue an access token with a defined scope and intended audience. The resource server must validate the token according to its format and deployment, including its issuer, expiry, audience and applicable permissions, and still apply the policy for the requested resource. A valid token is not automatically permission to perform every operation or access every object.

 

The IETF's OAuth 2.0 security best current practice, RFC 9700, describes measures such as restricting token audiences and protecting authorisation flows. A bearer token should be protected as a credential: whoever holds it may be able to use its authority until it expires or is otherwise invalidated. Do not place tokens in public code, logs or screenshots.

 

Sessions, sharing links and revocation

 

Permissions can change while a session or token remains valid. A user who leaves a team should lose access according to the service's revocation design, but caching, token lifetime or replication can delay the effect. Verify the actual behaviour and choose appropriate expiry and re-evaluation for sensitive resources. A password change does not necessarily revoke every API key, shared link or existing session.

 

A sharing link can act as a capability: possession of the link may grant the access configured for it. Treat such links according to their sensitivity, use expiry or restricted recipients where supported, and remove them when they are no longer needed. A link forwarded to the wrong person can bypass a carefully managed list of named users if the link permits anyone holding it.

 

Recovery and emergency access need controls as well. Maintain a documented, tested route for authorised recovery, with restricted use, monitoring and review. Do not leave a permanent shared administrator account as an unexamined shortcut around ordinary policy.

 

Authorisation in a home network and broadband setup

 

Consider the different controls around an ISP account, router, WiFi network and home server. The ISP account may let an owner view bills or change services. The router may have separate local administrator credentials. A guest WiFi network may be allowed internet access while being restricted from reaching local devices. A network-attached storage service may have its own file permissions.

 

These controls do not automatically inherit one another. Logging in to the ISP website does not prove that the router's local interface is protected. Joining a WiFi network does not mean a user should have permission to administer every device or read every share. Check the actual router, firmware and service capabilities before assuming that a feature or isolation rule exists.

 

In a home lab, a reverse proxy may enforce sign-in for one web route while a directly exposed port or API bypasses it. Map each reachable path to its own authentication and authorisation checks. The Zero Trust networking guide explains why network location alone should not grant unlimited trust.

 

How to assess and improve authorisation

 

Work on systems and test accounts you are authorised to assess. Keep a reliable recovery route and avoid changing production permissions without understanding the impact on users and dependent services.

 

  1. List the resources and operations that matter, including APIs, exports, sharing links and administrative actions.

  2. Identify the subjects that need access, including human users, devices and service accounts. Record who owns each permission.

  3. Write the intended policy in plain language: who can do what, to which resource, under which conditions and for how long.

  4. Build an allow-and-deny matrix with representative users, resources and actions. Include one user's access to another user's object and direct requests that bypass the interface.

  5. Verify that trusted enforcement points apply the policy and that missing attributes or policy errors fail safely according to the system's design.

  6. Check removal and recovery: revoke an assignment or token in a controlled test, confirm when access stops, and review relevant audit records.

  7. Repeat reviews as roles, integrations and systems change. Remove obsolete access and investigate unexpected denials or grants.

 

Strong authentication, including two factor authentication, supports these checks without replacing them. Useful safeguards include:

 

  • Grant the narrowest practical scope and separate ordinary work from administration.

  • Use strong authentication where appropriate alongside permission checks.

  • Protect credentials and tokens, and avoid recording secrets in logs.

  • Monitor sensitive access and permission changes without collecting more personal data than necessary.

  • Test denied as well as allowed paths, and include stale sessions, direct APIs and recovery procedures.

 

A 403 response can indicate that a server understood a request but refused it; a service may deliberately use other responses to avoid disclosing whether a resource exists. A status code alone does not identify the misconfigured policy. Investigate using appropriate server logs and an authorised test account rather than weakening controls blindly.

 

Authorisation questions answered

 

Is authorisation the same as authentication?

 

No. Authentication checks an identity claim or proof of control. Authorisation decides whether a requester may perform a particular action on a resource.

 

Can an anonymous visitor be authorised?

 

Yes. A policy can deliberately permit anonymous users to read public content while denying changes or access to private resources.

 

Does a valid token give access to everything?

 

No. A resource server must validate the token and apply the relevant permissions and resource-level policy. Token scope and audience do not automatically settle every object-level decision.

 

Is a hidden button an authorisation control?

 

Not by itself. A requester may call the underlying service directly, so the trusted server or enforcement point must check the action and resource as well.

 

What is least privilege?

 

It is the principle of granting only the access needed for a defined task, for the appropriate scope and duration, and reviewing it as needs change.

 

Does MFA replace authorisation?

 

No. MFA strengthens authentication. It does not correct an account's excessive permissions or ensure that an application checks access to each object.

 

What happens when access is revoked?

 

That depends on the implementation. Cached permissions, sessions, tokens and sharing links can have different lifetimes. Test that revocation takes effect at the relevant enforcement points.

 

The practical takeaway

 

Authorisation turns an access policy into a decision about a specific requester, action and resource. Design for least privilege, enforce checks at every relevant path and review access as circumstances change. A strong login is an important starting point; the permissions granted after that login determine what can happen next.

 

The broadband terminology guide connects access control with authentication, network security and remote access.

 
 
UK Techie Broadband Providers
bottom of page