top of page

What is Access Control?

Oct 26
8 min read

Updated: Oct 28

What is Access Control?

 

Access control is the process of deciding and enforcing who or what can access a resource, and which actions they can perform. The resource might be a file, an application, a network service, a cloud storage bucket or a physical room. A request may be allowed or denied according to a policy, and the decision must be enforced at the point where access occurs.

 

For example, a support engineer might be allowed to view a customer's connection status but not change billing details. A backup service might write to a particular storage location without being able to read every other folder. These restrictions limit what can happen after a person or service has connected.

 

The NIST definition of access control covers granting or denying requests to use information and services, as well as physical access. In this guide, the focus is on digital systems and networks.

 

How access control works

 

An access request usually contains a subject, a resource and an action. The subject is the person, device or service making the request. The resource is the thing being accessed, and the action might be read, modify, delete or administer. Context such as time, location or device condition may also affect the decision.

 

A policy describes the conditions for access. A decision component evaluates the relevant information and an enforcement point allows or blocks the operation. Products arrange these components differently: a file system, web application and firewall do not necessarily make decisions in the same way.

 

The illustration shows identity, the requested action and the resource being checked against a policy before access is allowed or denied. Reviewing permissions is a separate ongoing activity.

 

Access control infographic showing a request, policy check, allow or deny decision and access review

 

  1. Identify the requester where the system requires an identity.

  2. Determine the requested resource and action.

  3. Evaluate the applicable policies and relevant context.

  4. Enforce the decision at the resource or another suitable boundary.

  5. Record and review access where appropriate.

 

A successful check at one layer does not guarantee access at every other layer. A firewall might permit a connection to a server while the application rejects the account, or an application might permit a request that the underlying file system cannot complete.

 

Access control, authentication and authorisation

 

Authentication establishes confidence that a claimant controls an appropriate credential. It helps answer who or what is making the request. It does not by itself decide what that identity may do.

 

Authorisation concerns the permissions or decision to allow an action on a resource. Access control is often used for the overall policy and enforcement process, although technical sources sometimes use access control and authorisation interchangeably. In practice, access may also be controlled without identifying an individual, such as a public web page or a packet filter using network addresses.

 

A password or second factor protects the sign-in process. It cannot fix a policy that gives every signed-in user administrator access. Equally, a carefully designed policy cannot reliably distinguish users if their credentials are shared or stolen. Both controls need attention.

 

Common access control models

 

Model

Decision basis

Example

Role-based access control (RBAC)

Permissions associated with roles

A support role can view service status

Attribute-based access control (ABAC)

Attributes of the requester, resource, action and sometimes environment

A managed device can access a sensitive file during an approved window

Discretionary access control (DAC)

An authorised owner can manage access to an object, within system limits

A file owner grants another user read access

Mandatory access control (MAC)

Centrally enforced rules, often based on labels or classifications

A classified system restricts access by clearance and document label

 

These models describe ways to organise decisions rather than mutually exclusive products. A service can combine roles with conditions, group membership and resource-specific rules. The NIST guide to attribute-based access control describes how policies can evaluate attributes of the subject, object, operation and environment.

 

RBAC is often easier to explain when people have stable responsibilities. Its limits become visible when roles accumulate exceptions or a user keeps old roles after changing jobs. ABAC can express finer conditions, but policies and attributes need reliable ownership, testing and maintenance. A device marked compliant by mistake can produce an incorrect decision.

 

Where access control is enforced

 

Applications and APIs

 

An application should check whether the current subject may perform the requested action on the particular object. Hiding a button in the interface is not enough: a direct API request may still reach the server. A user allowed to view one customer's record should not automatically be able to view another by changing an identifier in a request.

 

A service account or API token also needs a defined scope. Restrict the resources and operations it can reach, rotate or revoke credentials when appropriate, and avoid treating possession of a token as permission for every action. Access decisions depend on the application's actual validation and enforcement.

 

Files, storage and cloud services

 

A file system may use ownership, groups and permissions to determine whether a process can read, write or execute a file. Cloud platforms may combine identity policies, resource policies and other controls. Effective permissions can be broader or narrower than any single entry suggests, depending on the platform's rules.

 

Public links, inherited permissions and external sharing are easy to overlook. A private folder may still be exposed through another copy, an application integration or a broadly scoped sharing link. Check the actual sharing paths rather than relying on the folder name.

 

Networks and devices

 

Network controls restrict communication between sources and destinations. An access control list can match traffic against ordered rules, while a firewall may also use connection state and other information. The exact rule order and default behaviour depend on the device and configuration.

 

Network access is not the same as permission inside an application. A rule allowing TCP traffic to a web server does not establish whether a particular user may change a customer record. Conversely, an application permission does not create a network path through a firewall.

 

Network segmentation can limit which systems can reach one another, but a VLAN or subnet boundary needs an appropriate enforcement policy to restrict routed traffic. Source IP addresses alone do not prove the identity of a person.

 

Least privilege and deny by default

 

Least privilege means giving a user or process only the access needed for its task, for as long as it is needed. The NCSC's cloud security guidance recommends granular controls, named groups, review of unused permissions and just-in-time administration where appropriate.

 

Start with no unnecessary access and grant explicit permissions for legitimate work. A default-deny approach is useful only if the actual platform is configured and tested to enforce it. Some systems have implicit permissions, inherited grants or multiple policies whose combination changes the outcome. Consult the relevant product documentation before assuming that a deny always overrides an allow.

 

Use separate administrative accounts or elevations where feasible. Time-limited access reduces standing privilege, but expiry and revocation should be tested. Keep a protected emergency access procedure, with monitoring and a way to recover if the normal identity provider is unavailable.

 

A practical example: a small UK office

 

Imagine a small UK business with a shared file service, an internet router and a customer support application. This is a hypothetical design, not a tested configuration.

 

Subject

Needed access

Restriction to check

Support team

View assigned customer records

No billing edits or unrelated customer records

Finance team

Manage billing records

No router administration by default

Backup service

Back up selected folders

No interactive administrator account

 

The business can group people by responsibility, enforce permissions in the application and file service, and restrict management interfaces to authorised administration paths. The network firewall can reduce exposure, but the application still needs its own object-level checks. Support access might be removed or changed promptly when a person leaves or changes duties.

 

A home lab follows the same logic on a smaller scale. A media server does not need the same privileges as a backup administrator, and a guest Wi-Fi user does not automatically need access to the router's management interface. The capabilities and configuration options depend on the equipment in use.

 

How to review and test access

 

Begin by listing sensitive resources and the actions that matter. Identify owners for the policies and the identities or groups that need access. Include service accounts, integrations, shared links and administrative paths, not just employee accounts.

 

  1. Document expected allow and deny cases for each role and resource.

  2. Use test accounts with realistic group memberships and check both permitted and prohibited actions.

  3. Test direct requests as well as the visible interface, including another user's object where authorised to do so.

  4. Check effective permissions, inheritance, external sharing and network paths at each relevant layer.

  5. Remove a test permission and verify how quickly existing sessions, tokens and cached decisions stop working.

  6. Review logs and alerting, then repeat after policy, role or infrastructure changes.

 

Only test systems you own or are authorised to assess. Use non-sensitive test data where possible. A denied request is useful evidence, but it proves only that particular path and context were denied at that time. Record the test conditions and investigate unexpected access rather than assuming every route is covered.

 

Common problems and limitations

 

  • Privilege creep: old group memberships remain after a role change.

  • Overbroad service accounts: automation receives administrator rights for a narrow task.

  • Broken object-level checks: an application validates sign-in but not access to the specific record.

  • Inherited or public access: a resource is exposed by a parent policy or share link.

  • Missing enforcement: a rule exists in documentation but is not applied to the actual path.

  • Stale access: an active session, token or cache remains usable after a permission changes.

 

Logs can help establish what happened, but they are not a substitute for prevention. Logging also has its own access and retention requirements. When personal information is involved, the Information Commissioner’s Office recommends restricting and regularly reviewing access rights. The right arrangements depend on the data and the organisation's circumstances.

 

Key takeaway

 

Access control only works when the policy matches the task and the decision is enforced on every relevant path. Define who needs which action on which resource, apply the rule at the appropriate layers, and test both allowed and denied cases. Review permissions as people, services and systems change.

 

Frequently asked questions

 

What is access control in simple terms?

 

Access control sets and enforces rules about who or what can use a resource and what they can do with it. For example, a monitoring account might read a router's metrics while being unable to change its configuration. The rules need enforcement at the service receiving the request; hiding a settings page alone does not stop direct access to its underlying API.

 

Is access control the same as authentication?

 

No. Authentication checks a claimed identity or credential. Access control applies rules to requests; a successful sign-in does not automatically grant every permission.

 

What is the difference between access control and authorisation?

 

Authorisation concerns permissions or the decision to allow an action. Access control often includes the wider process of defining, deciding and enforcing those permissions, although the terms can overlap.

 

What is role-based access control?

 

Role-based access control assigns permissions to roles, with users or services receiving access through the roles they hold. The effective result depends on the system's rules and other applicable policies. A read-only role, for example, can grant inspection without configuration changes. Check where the role applies and what other assignments the identity holds, because a narrow role does not cancel broader permissions granted elsewhere.

 

What does least privilege mean?

 

Least privilege means granting only the access needed for a legitimate task and removing it when it is no longer required. Apply it to service accounts and automated jobs as well as people. Separate ordinary work from administrative work, limit the resource scope and duration, and remove temporary permissions after the task. Review the combined effective access rather than judging one role in isolation.

 

Can a firewall provide access control?

 

Yes. A firewall can enforce network access rules, but it does not necessarily decide what a signed-in user may do inside an application.

 

How often should access rights be reviewed?

 

There is no single interval suitable for every system. Review rights regularly and when people change roles or leave, with more attention to sensitive resources and privileged access.

 
 
UK Techie Broadband Providers
bottom of page