Module 6: Securing Network Resources with NTFS Permissions
Introduction to NTFS Permissions |
NTFS Permission | For a folder - a user can: | For a file - a user can: |
Read (R) | Display folder
|
Display file
|
Write (W) |
|
|
Execute (X) |
|
|
Delete (D) | Delete a folder | Delete a file |
Change Permission (P) | Change a folder's permissions | Change a file's permissions |
Take Ownership (O) | Take ownership of a folder | Take ownership of a file |
Note: On a NTFS volume, the person who creates a file or folder becomes the owner. The owner can always assign and change permissions on a file or folder.
Standard Permissions:
Are combinations of individual NTFS permissions. They simplify administration by giving you the ability to assign combinations of individual permissions at one time.
Standard Shared Folder Permissions
Standard permission | Individual permission on folders | Individual permissions on files in the folder |
No Access | None | None |
List | RX | Not specified |
Read | RX | RX |
Add | WX | Not specified |
Add & Read | RWX | RX |
Change | RWXD | RWXD |
Full Control | All | All |
Standard File Permissions
The following table lists the standard file permissions and the individual NTFS permissions that each standard file permission represents:
Standard permission | Individual permission |
No Access | None |
Read | RX |
Change | RWXD |
Full Control | All (RWXDPO) |
How NTFS permissions are applied
Combining Shared Folder and NTFS Permissions
You gain the greatest degree of security by combining NTFS permissions with shared folder permissions. The most restrictive permission is always the effective permission.
Guidelines for assigning NTFS Permissions
- Application Folders:
- Remove default permission Full Control from Everyone and assign it to Administrator.
- If applications are contained in shared folders, assign Users group Read permission.
- Data Folders:
- Remove default permission Full Control from Everyone and assign it to Administrator.
- Assign Users group Add & Read permissions and the Creator Owner special identity Full Control permission to data folders. This gives users who log on locally the ability to delete and modify only the files and folders that they create.
- Educate users that share a computer to assign NTFS permissions to folders and files they own.
- Home folders:
- Centralize home folders on a network volume separate from applications and the operating system to streamline backing up data and administration.
- Use the %Username% variable to automatically assign a users account name to the folder the NTFS Full Control Permission.
- Store home folders on an NTFS volume on a network server
- This simplifies backup
- streamlines the assignment of permissions
- NOTE:
- On NTFS volumes, using %username% automatically assigns Everyone Full Control permissions to home folders
- On FAT volumes, folders can only be restricted by shared folder permissions.
Assigning NTFS Permissions:
To assign NTFS permissions, you need to be the OWNER of the folder or file and have one of the following permissions:
Assigning NTFS File and Folder Permissions
Option | Purpose |
Replace Permissions on Subdirectories |
|
Replace Permissions on Existing Files |
|
Name |
|
Type of Access |
|
Assigning Special Access Permissions
You might want to assign individual permissions, or create a custom set of permissions. You can do this by assigning special permissions. For example, to allow another user to manage permissions for files you own, assign that user the special file access permission Change Permissions (P).
NOTE: This is also here to give UNIX users full individual rights instead of giving them FULL CONTROL. With Full Control, a UNIX user can delete a folder or file even though there are NO ACCESS permissions on the object. Assigning individual rights to this user gets around this.
How to get there?
Requirements to Take Ownership:
Whoever creates a folder or file OWNS it ==>'s user can share folder and assign permissions to others
If the user has denies access to a file and then leaves the company, you can take ownership of the file and change the permissions so that others can use it.
By default, members of the Administrators group always have the ability to take ownership of a file or folder. An owner cannot change the ownership of a resource they own.
REMEMBER, YOU CAN'T GIVE OWNERSHIP AWAY, YOU CAN ONLY TAKE IT. The owner can only give another user or group the ABILITY to take ownership of a file or folder by assigning one of the following permissions:
- Full Control
- Special Access, Take Ownership
- Special Access, Change Permissions - with this permission, users can assign the Take Ownership permission to themselves or to another user or group
Copying or Moving Folders and Files
(sure exam question area)
A user cannot copy or move files within or between NTFS volumes, unless the user has the correct permissions. The following table describes the required permissions to copy or move a file or folder to another folder on an NTFS volume or to another NTFS volume.
Action | Permission required |
Copy |
|
Move |
|
Permissions and Copying and moving files
Copying and moving files or folders within and
between NTFS volumes can affect the original permissions set on a file. The
following table describes what happens to permissions on a folder or file when
copied or moved within or between an NTFS volume.
Task | Within an NTFS volume | Between NTFS volumes |
Copy | Inherits permissions of the destination folder | Inherits permissions of the destination folder |
Move | Retains original permissions | Inherits permissions of the destination folder |
The rule is, then, the ONLY time the permissions are retained is when the file is moved within the same NTFS volume. A move is a copy or delete operation and it merely changes the pointer to the file.
Important Note:
Troubleshooting
Problem: a user deletes a file even though he was assigned NO ACCESS permission for the file
Instead of assigning the NTFS standard Full Control permission for a folder, assign all of the individual special directory access permissions. This gives all the abilities of the Full Control permissions for the folder by PREVENTS them from deleting files in the folder (for which they have been assigned NO ACCESS)
You add a user or group to give them access to
an resource, but they still can't get access
Because an ACCESS TOKEN is created for the user every time the user connects to NT. This token contains info about the groups to which the user belongs. The token needs to be updated and the only way to do that is by logging on fresh again.
![]() I'm sorry, but I can't answer specific network-related, or exam-related questions. |
|
Last Updated: August 6, 2001 | Grant Wilson, Edmonton, AB Canada |