TechKnowSurge
NIST 800-53 AC-3 ISC2 CISSP 5.1 CompTIA Security+ 1.2 NIST NICE K0685 NIST 800-53 AC-6 NIST CSF PR.AA-05 CompTIA Security+ 4.6 ISC2 CISSP 5.4
VideoSecurityFree

Access Control

Access control is the practice of restricting who can reach an organization's networks, data, and services through physical, logical, and administrative measures. Permissions and access control lists define exactly what users, groups, and systems are allowed to do with any given resource.

Complete this video to capture a CTF flag worth 1 point.

About this video

Access control is the mechanism by which organizations determine who can reach their assets, including networks, data, and services. It operates across three distinct dimensions. Physical access control addresses whether servers and infrastructure are protected by locks, fencing, security personnel, or surveillance systems. Logical access control uses permissions and access control lists to enforce electronic barriers, ensuring only authorized users, groups, or systems can interact with a given resource. Administrative access control encompasses the policies and procedures an organization establishes to govern access at an operational level. Together, these three layers form a comprehensive framework for protecting organizational assets. Access control lists, or ACLs, are the rules engines behind logical access control. Each resource maintains an ACL that specifies what level of access is granted or denied to each user, group, or system. On a Windows file system using NTFS permissions, access rights for multiple users and groups stack additively, meaning a user inherits the combined permissions from their individual account and any groups they belong to. On a router or firewall, traffic is evaluated sequentially against each ACL rule until a match is found, and most firewall ACLs include an implicit deny, blocking any inbound traffic that is not explicitly permitted. Understanding these behavioral differences is essential when designing and auditing access controls across different environments. The principle of least privilege is a foundational concept that runs through all access control decisions. It holds that any user, account, or process should be granted only the minimum permissions necessary to carry out its function. Granting excessive access, even to senior personnel, creates unnecessary risk because a compromised account exposes everything it has access to. Applying least privilege consistently limits the potential blast radius of a security incident and reduces the attack surface across the entire environment.

What you'll learn

What's covered

Access Control

Aligned to

NIST 800-53
AC-3 Access Enforcement
AC-6 Least Privilege
ISC2 CISSP
5.1 Control physical and logical access to assets
5.4 Implement and manage authorization mechanisms
CompTIA Security+
1.2 Summarize fundamental security concepts.
4.6 Given a scenario, implement and maintain identity and access management.
NIST NICE
K0685 Knowledge of access control principles and practices
NIST CSF
PR.AA-05 Access permissions, entitlements, and authorizations are defined in a policy, managed, enforced, and reviewed, and incorporate the principles of least privilege and separation of duties.

Key terms

Access Control
A security mechanism that restricts access to resources based on policies, roles, or identity.
Access Control List
ACL
A set of rules that defines which users or systems are granted or denied access to a resource.
Least Privilege
A security principle that grants users and systems only the minimum access rights needed to perform their functions.
Authentication
The process of verifying the identity of a user, device, or system.
Authorization
The process of determining what actions or resources an authenticated user is permitted to access.
Permissions
The defined access rights granted to users, groups, or objects that control what resources they can access or modify.
Implicit Deny
A foundational access control principle in which any traffic or request not explicitly permitted by a rule is automatically blocked. It appears as a hidden deny-all rule at the end of every access control list.
Explicit Allow
An ACL rule that specifically and intentionally permits a defined type of traffic or access to a resource.

Topics

Access Control Access Control Lists Least Privilege Permissions Cybersecurity

Transcript

A big part of identity and access management is access control. Access control is controlling the access to our resources, to our assets. What we want to do is guard our networks, our data, our different services. We want to guard them and only allow certain people, only allow authorized people, to access that information.

There's kind of three spokes to this, three different ways of looking at this. One is the physical aspects: how physically can people get to that data? Are your servers locked up? Are they behind fences? Are they behind gates? Are there security guards? Are there surveillance cameras? How physically have you controlled access to those servers that are running those services or storing that data?

Then we have the logical perspective. Most likely, most of your data is going to be accessible through some sort of network share or some sort of data sharing technique. So what are the permissions, what are the access control lists, what's standing in the way from an electronic standpoint to make sure only authorized people have access to those resources?

Then there's the administrative perspective of this. Those are the policies, the procedures, the things that we put in place to make sure that we have control over, and only authorized people can gain access to, our assets and our resources.

Permissions and access control lists

One way we control access to our different resources is through something called permissions. This is the idea that we are going to safeguard and put barriers, put up protections, put up logical barriers into our resources, but we're only going to give permissions to certain people to gain access to certain resources. So the permissions is what sets up the ability for certain people to access certain resources.

Permissions are set up in an access control list. An access control list is a list of access controls, so there'll be certain rules or certain permissions inside this access control to monitor, or to be able to control, the access to these different resources. For instance, let's say I wanted to give permission to a certain user into this database right here. This database has an access control list, and I would give that user permission to get into that database. Or perhaps that permission is for a group to get into it, or perhaps that permission is for some sort of object, some other object, to gain access to that, like a server to gain access to that database.

NTFS permissions

Here I am on a Windows machine, and I'm going to actually show you an access control list and some permissions. I'm going to show you actually two different examples of access control lists. The first access control list is going to be the NTFS permissions.

I'm going to just click on any folder here, right click on it and say Properties, and under here I have a Security tab. So I'm going to click the Security tab. This is the set of permissions. If you notice, I can select the different groups here or the different users. So this is a system group right here, and when I have it selected, this system has access to all of this. So this is essentially giving permission to the system, to the computer, to have access to this folder. I can see that demo laptop is a user that has the full rights into this folder as well, and then administrators as well.

Now let's say I wanted to change the permission level here, or grant somebody access to the permission. I'm going to click on Edit, I'm going to Add, and I'm going to add a user account I created named Andrew. So I'll click on this, and I just hit Check Name for it to recognize my name, and now there it is, that's the user that's on this laptop. I'm going to click on OK, and then I can select the level of permissions that I want to grant this specific user, or if I want to deny them access to something I can do that as well. So I'm going to grant modify rights and I'm going to leave out full rights, and so that looks pretty good right there, and now I can hit Apply.

Or there are groups on here also. I have a demo group, so I'm going to type in demo group, click Check Name, and there's the group. I'm going to add that, and now the demo group is on there. So then I give access to this demo group, and perhaps I want to grant full control. So this is an example of NTFS permissions on here, and this is the access control list for this particular folder, this resource.

An access control list on a router

The other one that I'll show you is going to be an access control list on a router. This would be similar to what you would see on a firewall. So I'm going to bring up a router right here, and I pulled up a command to pull up the access control list. For this particular one, ICMP is ping packets. So what it's doing is it's permitting pinging from this particular host right here. Then it denies anything else from that network, and then it will allow any other type of traffic to go across here.

So this is an access control list that is controlling the access to a network. The first one I showed you was controlling access to a folder on my desktop, and this one's controlling access through this router, so it's controlling it from one destination to another.

How different access control lists behave

Now, depending on what the access control is and what kind of technology it's being used on, these access control lists will actually behave a little differently. The behaviors are going to be quite a bit different, actually. For instance, this access list on this router right here: all the traffic that's going through it is going to measure up against this first statement right here, and if it happens to belong to host 102.05, then it's going to permit that traffic and it's not going to continue to access any of these other statements here. But if it doesn't, then it will try to measure up against the next one and then the next one, and it'll keep doing that until it finds the one that matches.

So that is for a firewall or a router. But these NTFS permissions here, they stack. So if I get a certain set of permissions through my user account Andrew, and then another set of permissions through the group that's called demo group, they're going to be additive, so they're going to group together. Just realize that the way these different access lists behave is quite a bit different.

Implicit versus explicit

One example of these behaviors that are going to be a little different depending on what ACL you're working with is this idea of implicit versus explicit. Implicit means that it doesn't need to be defined; that's going to be the behavior, and so it doesn't have to be defined. Versus explicit, which means that it has to be defined.

An example of this is if a computer is trying to talk out to the internet and going through a firewall. There's a direction that happens here for this computer to talk out to the internet. So going from inside your network to outside, the outside is considered untrustworthy versus the inside is considered trustworthy. What's going to happen is that there is this implicit "I'm going to allow traffic to go from in to out." So there's this implicit allow, and if you want to block something off, then you're going to have to set up an explicit "I am going to block certain things from being able to go out."

Now reverse: we don't want something from the outside that's untrusted to be able to just get into our network. So there is an implicit deny that's going to happen, that I'm not going to allow traffic from the outside to get inside unless I explicitly allow it. So in these firewall access lists there's an implicit deny all, and it says I'm going to just deny it unless I specifically am told no, allow this to come back into the network.

Least privilege

There's this idea of least privilege, and the idea behind least privilege is that we give the least amount of permission into resources for somebody to be able to do their job.

A good example of that is a CEO. A CEO is the head of some sort of corporation, the chief executive officer, so they are in charge of the whole company. It might immediately think, well, maybe we should give that person access to the whole company, all of the different resources. But no, least privilege says we shouldn't do that, and the reason why is because if this person's account ever got compromised, they get access to everything that that person has access to.

Let's say that person needs access to maybe some server, maybe some data, some different resources there, but we accidentally gave this person access to admin rights into the switch and to all of the different machines and the backend database and all the keys to everything. The CEO is a high target within a company, so let's say their account gets compromised, and now suddenly the person that hacked this account and has gained access has access to stuff that they shouldn't really have access to. So we really want to limit this by least privilege, giving them the least amount of permissions into those resources as possible.

About TechKnowSurge

TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.

Explore free tools and programs →