Permissions

The NTFS file system has many basic and advanced permissions. Some of the key permission types are:

Permission TypeDescription
Full ControlAllows reading, writing, changing, deleting of files/folders.
ModifyAllows reading, writing, and deleting of files/folders.
List Folder ContentsAllows for viewing and listing folders and subfolders as well as executing files. Folders only inherit this permission.
Read and ExecuteAllows for viewing and listing files and subfolders as well as executing files. Files and folders inherit this permission.
WriteAllows for adding files to folders and subfolders and writing to a file.
ReadAllows for viewing and listing of folders and subfolders and viewing a file’s contents.
Traverse FolderThis allows or denies the ability to move through folders to reach other files or folders. For example, a user may not have permission to list the directory contents or view files in the documents or web apps directory in this example c:\users\bsmith\documents\webapps\backups\backup_02042020.zip but with Traverse Folder permissions applied, they can access the backup archive.

NTFS permissions and share permissions are often understood to be the same. Please know that they are not the same but often apply to the same shared resource. Let’s take a look at the individual permissions that can be set to secure/grant objects access to a network share hosted on a Windows OS running the NTFS file system.

Share permissions

PermissionDescription
Full ControlUsers are permitted to perform all actions given by Change and Read permissions as well as change permissions for NTFS files and subfolders
ChangeUsers are permitted to read, edit, delete and add files and subfolders
ReadUsers are allowed to view file & subfolder contents

Keep in mind that NTFS permissions apply to the system where the folder and files are hosted. Folders created in NTFS inherit permissions from parent folders by default. It is possible to disable inheritance to set custom permissions on parent and subfolders, as we will do later in this module. The share permissions apply when the folder is being accessed through SMB, typically from a different system over the network. This means someone logged in locally to the machine or via RDP can access the shared folder and files by simply navigating to the location on the file system and only need to consider NTFS permissions. The permissions at the NTFS level provide administrators much more granular control over what users can do within a folder or file.

Similar to NTFS permissions, there is an access control list (ACL) for shared resources. We can consider this the SMB permissions list. Keep in mind that with shared resources, both the SMB and NTFS permissions lists apply to every resource that gets shared in Windows. The ACL contains access control entries (ACEs). Typically these ACEs are made up of users & groups (also called security principals) as they are a suitable mechanism for managing and tracking access to shared resources.

NTFS Basic permissions

PermissionDescription
Full ControlUsers are permitted to add, edit, move, delete files & folders as well as change NTFS permissions that apply to all allowed folders
ModifyUsers are permitted or denied permissions to view and modify files and folders. This includes adding or deleting files
Read & ExecuteUsers are permitted or denied permissions to read the contents of files and execute programs
List folder contentsUsers are permitted or denied permissions to view a listing of files and subfolders
ReadUsers are permitted or denied permissions to read the contents of files
WriteUsers are permitted or denied permissions to write changes to a file and add new files to a folder
Special PermissionsA variety of advanced permissions options

NTFS special permissions

PermissionDescription
Full controlUsers are permitted or denied permissions to add, edit, move, delete files & folders as well as change NTFS permissions that apply to all permitted folders
Traverse folder / execute fileUsers are permitted or denied permissions to access a subfolder within a directory structure even if the user is denied access to contents at the parent folder level. Users may also be permitted or denied permissions to execute programs
List folder/read dataUsers are permitted or denied permissions to view files and folders contained in the parent folder. Users can also be permitted to open and view files
Read attributesUsers are permitted or denied permissions to view basic attributes of a file or folder. Examples of basic attributes: system, archive, read-only, and hidden
Read extended attributesUsers are permitted or denied permissions to view extended attributes of a file or folder. Attributes differ depending on the program
Create files/write dataUsers are permitted or denied permissions to create files within a folder and make changes to a file
Create folders/append dataUsers are permitted or denied permissions to create subfolders within a folder. Data can be added to files but pre-existing content cannot be overwritten
Write attributesUsers are permitted or denied to change file attributes. This permission does not grant access to creating files or folders
Write extended attributesUsers are permitted or denied permissions to change extended attributes on a file or folder. Attributes differ depending on the program
Delete subfolders and filesUsers are permitted or denied permissions to delete subfolders and files. Parent folders will not be deleted
DeleteUsers are permitted or denied permissions to delete parent folders, subfolders and files.
Read permissionsUsers are permitted or denied permissions to read permissions of a folder
Change permissionsUsers are permitted or denied permissions to change permissions of a file or folder
Take ownershipUsers are permitted or denied permission to take ownership of a file or folder. The owner of a file has full permissions to change any permissions