Are you looking for a way to view who has permissions to a file, folder or network share?
Then you’re in the right place.
NTFS permissions are useful to secure access to files and folders.
When you have multiple users, groups and network shares it can be difficult to keep track of who has access to what.
In this tutorial, I’ll show you two methods for quickly checking permissions on files and folders.
Check it out
What are NTFS Effective Permissions?
NTFS effective permissions are the resultant permissions of a file or folder for a user or group. It is the combination of explicit and inherited permissions on an object. In other words, its the permissions a user or group has to a file or folder.
When trying to determine the effective permissions you need to consider the following:
- Group Membership
- Inherited Permissions
- Nested groups
- Explicit deny permissions
- Local group membership
When you create a new file or folder, it will either take the operating systems defaults or inherit permissions from a parent folder.
Seems straightforward right? Yes and No
Depending on how your network shares are structured and how granular you get with access, it can become a big tangled mess.
But, that not the focus of this tutorial.
Let’s move onto some examples of viewing effective access.
Steps to View Effective Permissions (Windows Server 2016)
In this video, I walk through how to view the effect permissions on a network share. This is done on Windows Server 2016, the steps are very similar to previous windows versions.
Effective Permissions Reporting Tool
Although the above methods works just fine, let’s take a look at an even faster and more efficient way of checking permissions.
This method I’ll be using the SolarWinds permissions Analyzer tool.
Not only does this tool quickly analyze the NTFS permissions it also analyzes the share permissions.
Step 1: Download Free tool here
Step 2: Install
Step 3: configure
Connect the permissions analyzer to your Active Directory.
Now, I just select the user or group that I want to analyze, then the file or folder and click analyze.
In this example, I will check the user Amanda Gord’s permissions to the HR share.
Just with a few clicks, I’m able to see the effective permissions this user has to the HR folder. I can also check the access for Security groups.
Troubleshooting NTFS Permissions With the Analyzer Reporting Tool
Let’s walk through a few more examples of checking permissions with the permission analyzer tool.
- HR network share on a Windows Server 2016 file server
- Active Directory Security Groups
- HR Full Security Group: Users in this group have been granted modify access to the HR network share
- HR ReadOnly Security Group: Users in this group have been granted read & execute permissions to the HR network share
- HR Supervisor Folder Security Group: Granted modify permissions to the supervisor folder
Example 1: View Effective Permissions To a Network Shared Folder
I want to verify the effective permissions to the HR network share. I want to make sure there is no unauthorized access.
I’m going to check Dan Warner’s access, he is a member of the HR full group.
TIP: Don’t give users full control to files or folders. This gives them the ability to take ownership, change permissions and really mess things up.
This looks correct. Dan has modify rights but not full control.
Now, let’s look at Sam Rodgers permissions, he is in the HR ReadOnly group.
Looks correct, Sam has permissions to read & execute files.
Now, let’s make sure no one outside of HR can get access to the HR folder.
I’m going to check Pam Smith’s access, she is not a member of the HR Full or read only group.
Well, Pam doesn’t have NTFS permissions but she does have share permissions. Even though she won’t be able to access the files and folders she can still see the HR shared folder. There is no need for users to view shares they don’t have access to so I’ll need to remove her share permissions.
This is a good example as to why you should verify and audit file and folder access.
Example 2: View Effective Permissions To a Sub Folder
Departments often want sub folders locked down so that only certain users can access them. They often request to have folders several layers deep locked down, I deny these requests because it becomes a nightmare to manage.
The HR department wants to lock down a folder called supervisor to a few users. I created an Active Directory group called HR Supervisor Folder and add the requested users.
The only user I have set up to access the supervisor folder is Amanda Gord so let’s check her effective permissions.
Yes looks good. Amanda has only modify rights.
Now I’ll check Sam Rodgers who is a member of the HR ReadOnly group. I should see that Sam is denied access to this folder.
Looks good. Sam you are denied!
It was reported that Dan Warner is able to access the supervisor folder. Dan is not a member of the HR supervisor folder group so he should not have access.
Let me check his effective rights.
All be damn. Dan does have access even though he is not in the supervisor group.
How could this be?
We can use the permissions analyzer tool to analyze the folder against the groups Dan is a member of.
Dan is a member of Domain Users and HR Full. I’m going to check the HR full groups access.
What the bleep. The HR Full group has access to the supervisor folder. This explains why Dan has access.
Let me go check the permissions on the folder.
Ah there it is. One of the System Admins forgot to remove the HR Full group from the supervisor folder. This gave anyone in that group access to that folder.
I’ve removed the HR Full group now let me check Dan’s access again.
That looks better, Dan no longer has access.
As you can see the permission analyzer tool makes it easy to check for effective NTFS and share permissions. If you haven’t already done so Download your FREE copy of the Permission analyzer and give it a try.
NTFS permissions are critical to ensuring unauthorized access to files and folders. One miss configured setting could give a whole group of users access to data they are not authorized for. Knowing how to quickly check file and folder effective permissions helps in troubleshooting and to ensure the rights users and groups and permissions they only need.
Any questions? Leave a comment below.