Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Server

Windows Server 2008 R2 : Configuring Folder Security, Access, and Replication - Implement Permissions

- How To Install Windows Server 2012 On VirtualBox
- How To Bypass Torrent Connection Blocking By Your ISP
- How To Install Actual Facebook App On Kindle Fire
7/1/2011 6:05:34 PM
A file system is by definition a hierarchical structure of folders that house files and secure those files through a series of access control lists (ACLs) and access control entries (ACEs) that define the type of permissions that are granted or denied to those same folders and files. This means that in the Windows Server 2008 R2 world, the primary methodology for securing folders and their files is the use of permissions.

Permissions come in two varieties: share-level permissions and NTFS permissions. If you think about it, this makes perfect sense. When you create a folder in the file system, there is a default set of permissions that are assigned to the folder. The system itself, the user who created the folder, and the local Administrators group on the server where the folder was created all need some level of access to the folder, as shown in Figure 1.

NTFS permissions are assigned when the folder is created but can be edited at any time by a user or group member who has the permission to change permissions on the folder.

NTFS folder permissions come in two types called standard permissions and special permissions. Standard permissions come in the form of Full Control, Modify, Read & Execute, List Folder Contents, Read, and Write. Each of these permissions can be either allowed or denied. Because you have the option to allow or deny permissions on a folder in an NTFS file system, you have incredible flexibility over the level of access on a given folder.

Figure 1. Default NTFS permissions

In addition to the standard permissions, there are also special permissions that can be set on each folder or file. Special permissions do more than simply provide access to the folder on which they are applied. They provide the basis for folder ownership as well as the ability to change permissions for a folder and the hierarchy that could exist beneath the folder in the file system.

1. Set Standard NTFS Permissions

Setting or changing standard NTFS permissions is a straightforward process. Follow these steps to get started:

  1. Open Windows Explorer.

  2. Locate the desired folder.

  3. Right-click the folder.

  4. Choose Properties.

  5. Select the Security tab.

  6. Click Edit.

At this point, you can select an existing user or group from the list of users and groups that have existing permissions, or you can click the Add button to add new users or groups to which permissions may be assigned.

You can add users and groups from the local accounts available on the physical machine or from the Active Directory database if the folder resides on a server that is part of an Active Directory forest. In the event that you are interested in removing permissions, you can simply select the user or group account from the list of users and groups and then click the Remove button, as illustrated in Figure 2.

Figure 2. Setting and removing standard NTFS permissions

Please keep in mind that not just anyone can add, change, or remove NTFS permissions on a folder. You need to have permissions to a folder in order to change its permissions. The permissions to change permissions or take ownership of a folder are special permissions.

2. Set Special NTFS Permissions

Like with standard permissions, adding or changing special permissions is a fairly straightforward process. Follow these steps to get started:

  1. Open Windows Explorer.

  2. Locate the desired folder.

  3. Right-click the folder.

  4. Choose Properties.

  5. Select the Security tab.

  6. Click the Advanced button.

At this point, the Advanced Security Settings dialog box for this folder is displayed, as shown in Figure 3.

Figure 3. Advanced Security Settings dialog box

On the Permissions tab, you can click Change Permissions and add, edit, or remove the special permissions. Note the check boxes at the bottom of the window to include inheritable permissions from this object's parent and to replace all child object permissions with inheritable permissions from this object. NTFS file systems have a system of inheritance that is built in to the file system. This means that permissions added higher up in the file system hierarchy can flow down to the folders that are beneath them in the hierarchy. This is valuable when you want to assign permissions to users or groups to a section of the NTFS file system. It can also present some interesting challenges when you are trying to figure out exactly what permissions a given user or group has been granted on a given folder. To help with this issue, you can use the Effective Permissions tab in the Advanced Security Settings dialog box as shown in Figure 4.

Figure 4. Advanced Security Settings dialog box

3. View Effective NTFS Permissions

To view the effective NTFS permissions, follow these steps:

  1. Open Windows Explorer.

  2. Locate the desired folder.

  3. Right-click the folder.

  4. Choose Properties.

  5. Select the Security tab.

  6. Click the Advanced button.

  7. Select the Effective Permissions tab.

  8. Click Select.

  9. Select the user or group whose effective permissions you want to view.

  10. Click OK to view them, as shown in Figure 5.

Figure 5. Effective Permissions tab

Notice in Figure 5 that on the Effective Permissions tab you can view both standard and special permissions for the user or group that you select. This can be a very valuable tool to aid you in determining the permissions on an NTFS folder.

4. Take Ownership of an NTFS Folder

By now you may have noticed that a set of default permissions is given to each folder created in an NTFS file system. There is a special set of permissions given to the creator of an NTFS folder. These permissions can be defined as "ownership" of the folder. The owner of the folder has full control of the folder and both its standard and special permissions. The Administrators group is also given special permissions, including the permission to take ownership of the folder. This means that at any given point in time anyone in the Administrators group might choose to take ownership of an NTFS folder and thus take control of its associated permissions. In order to take ownership of a folder, though, you need to have that special permission assigned to your user or group. If you do not have permissions to take ownership of a folder, you cannot simply "force" your way to ownership. By the same token, if you are the owner, you can deny the ability to take ownership to all parties with the exception of yourself. Now that's control!

If you have the permission to take ownership, the process works like this:

  1. Open Windows Explorer.

  2. Locate the desired folder.

  3. Right-click the folder.

  4. Choose Properties.

  5. Select the Security tab.

  6. Click the Advanced button.

  7. Select the Owner tab.

  8. Click Edit. You'll see Figure 6.

Figure 6. Taking ownership

Notice that when you click Edit, the current owner is displayed, and the users or groups that can take ownership are displayed in the Change Owner To box. It is also important to consider the Replace Owner On Subcontainers And Objects check box. If you take ownership of a folder, you also have the option to take ownership of the folders beneath it in the hierarchy. This may be desirable if your intent is to take control of a section of the file system.

NTFS folder and file permissions are a great way to control permissions to a local resource. The problem you will have is that in a network environment the users are almost never sitting at the server where the resources are located. How do you provide access and permission controls for folders that are not on the same physical system that the user is on? You share them!
Other -----------------
- Microsoft Dynamics CRM 2011 : Working with Leads and Opportunities - Creating an Opportunity
- Microsoft Dynamics CRM 2011 : Qualifying a Lead & Disqualifying a Lead
- Microsoft Dynamics CRM 2011 : Understanding Leads and Opportunities & Creating a Lead and Tracking Lead Sources
- Performing an Exchange Server 2003 Installation
- Planning a Microsoft Exchange Server 2003 Infrastructure : Preparing Forests and Domains
- Planning a Microsoft Exchange Server 2003 Infrastructure : Installation Considerations
- SharePoint 2010 : Securing Information - Securing Sites
- SharePoint 2010 : Securing Information - Securing Site Collections
- WCF and BizTalk 2009 (part 2) - Publishing Your WCF Service from the Command Line & Consuming WCF Services
- WCF and BizTalk 2009 (part 1) - Exploring the Built-in WCF Adapter Transport Support & Using the WCF Service Publishing Wizard
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
Trailers Game
- The Banner Saga 2 [PS4/XOne/PC] PC Launch Trailer
- Welkin Road [PC] Early Access Trailer
- 7th Dragon III Code: VFD [3DS] Character Creation Trailer
- Human: Fall Flat [PS4/XOne/PC] Coming Soon Trailer
- Battlefleet Gothic: Armada [PC] Eldar Trailer
- Neon Chrome [PS4/XOne/PC] PC Release Date Trailer
- Rocketbirds 2: Evolution [Vita/PS4] Launch Trailer
- Battleborn [PS4/XOne/PC] 12 Min Gameplay Trailer
- 7 Days to Die [PS4/XOne/PC] Console Trailer
- Total War: Warhammer [PC] The Empire vs Chaos Warriors Gameplay Trailer
- Umbrella Corps [PS4/PC] Mercenary Customization Trailer
- Niten [PC] Debut Trailer
- Stellaris [PC] Aiming for the Stars - Dev. Diary Trailer #1
- LawBreakers [PC] Dev Diary #4: Concept Art Evolutions
programming4us programming4us
Popular tags
Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 windows Phone 7 windows Phone 8
programming4us programming4us
 
programming4us
Natural Miscarriage
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Game Trailer