Understanding and Implementing Access Control

An Overview of Access Control

Allowing users and computers unlimited access to system resources and network resources can ultimately compromise the security and stability of an organization. Even though users and computers need to access network and system resources to perform certain tasks, the access that they require should be limited to those necessary to perform these tasks. Access control has since evolved from being access oriented with Windows 2000 and earlier to being control oriented with Windows Server 2003. With the launch of Windows Server 2003, Microsoft tightened its default security settings by granting the Everyone group read and execute permission on NTFS files and folders, and limiting the Everyone group to read permissions on shared files and folders. This group in Windows 2000 and earlier had full control on all newly created files or folders.

Access control deals with determining whether a user that has been authenticated can perform particular activities. When an attempt is made to access objects, access control determines whether the object can be accessed. Objects include Active Directory objects, files and folders, shared folders, network services, printers, registry keys and values, Windows Management Interface objects, and Terminal Services connections. Windows Server 2003 simplifies access control management by using a standard model which utilizes access control lists (ACLs), inherited permissions, and standard and special permissions, for all the different types of objects.

Before exploring access control any further, you should familiarize yourself with the following terms:

Planning for Effective Access Control

Because the management of security groups, ACLs, and security settings needs careful planning, you need to create an access control plan that could assist in preventing standard security problems from occurring. Standard security problems you want to prevent from occurring are:

A good access control plan should include the following components or tasks.

Access Control Lists (ACLs) and Access Control Entries (ACEs)

An ACL controls access to resources. The two types of ACLs are:

Each ACL includes a number of access control entries (ACEs). An ACE holds the following information:

The process detailed below explains the manner in which the DACL is set when new objects are created:

Using the User/ACL method to control access to resources

In this method, users are added directly to the ACL for the resource and are granted permissions for that particular resource. The User/ACL method is easy to implement but is only effective in small organizations. It is typically used when an owner of a file or folder resource wants to share access to the file or folder. The User/ACL method does not work well in large organizations where access control has to be effectively implemented and efficiency managed.

Using the Account Group/ACL (AG/ACL) method to control access to resources

In this method, global groups are utilized and not individual user accounts. The global groups are added to the ACL instead of individual user accounts. The group is then assigned access permissions to the resource. When the permissions need to be changed for the particular resource, the permissions for the group need to be amended. Using groups simplifies management.

Using the Account Group/Resource Group method to control access to resources

With this method users with similar access requirements are assigned to account groups. The account groups are then added to a resource group that has the necessary resource access permissions. The Account Group/Resource Group method is typically utilized in large organizations to control access to resources.

Understanding Standard and Special Permissions

You can use standard and special permissions when setting up access control lists for Active Directory objects, services, printers, registry keys, and files and folders. The differences between the two permissions are summarized below:

File and folder permissions

The standard file and folder permissions that can be applied to files and folders on NTFS partitions are listed below. The permissions that are available are determined by the security context of the object:

The special or advanced file and folder permissions are listed below. These permissions are automatically selected when one or more of the standard permissions are selected:

Active Directory permissions

Permissions to Active Directory objects are typically assigned using the Directory Users And Computers (ADUC) console. The standard permissions that can be applied to Active Directory objects are summarized below:

Service permissions

You can change service permissions through the Services console. The standard permissions that can be applied to services are summarized below:

Registry permissions

Access to registry keys and values are typically restricted because recklessly changing these keys or values can have catastrophic consequences. The standard permissions that can be applied to registry keys and values are summarized below:

Printer permissions

The standard permissions that can be applied to printers are summarized below:

The Different Types of Security Groups

User accounts are members of security groups. The groups which are utilized to manage access are defined by the scope, rights and role of the group. You normally define groups to control user accounts, computer accounts and other group accounts. The scope of a security group can be a computer, a domain, or even multiple domains in a forest. Windows 2000, Windows XP Professional, and Windows Server 2003 groups are part of one of the following types of groups:

The following tools and utilities can be utilized to manage security groups and access control.

Built-in Groups

When you create an Active Directory domain, a few built-in groups are automatically created which can be utilized to manage access to shared resources and to delegate particular domain wide administrative roles. When the built-in groups are created, they are typically also automatically assigned with specific user rights. These user rights in turn determine which activities a group and its associated members can perform in the domain or forest. A few built-in groups are summarized below:

How to view ACLs

  1. Right-click the particular object (file, folder), and choose Properties from the shortcut menu.
  2. When the Properties dialog box of the object opens, click the Security tab.
  3. The Group or user names box holds the users/groups that have permissions assigned for the particular object. Use the Add button and Remove button to modify this list.
  4. When you select a particular user or group, the Permissions for box indicates the permissions allowed or denied for the user/group that you have selected. You can use the Allow and Deny checkboxes to specify permissions.
  5. You can click the Advanced button to view or set advanced permissions on the Advanced Security Settings dialog box. This includes:
    • Viewing and changing special permissions for a user/group, and effective permissions
    • Viewing and changing access inheritance settings for the object and any associated child objects
    • Viewing and changing ownership for the object and any associated child objects
    • Viewing auditing information on access to the object

How to create a new security group using Active Directory Users And Computers

  1. Open Active Directory Users And Computers
  2. In the console tree, right-click the Users container, and select New and then Group from the shortcut menu.
  3. When the New Object – Group dialog box appears, enter the name of the group in the Group Name field.
  4. Click OK

How to set the Administrators group as the owner of objects

  1. Open Control Panel, click Performance and Maintenance, and then click Administrative Tools.
  2. Proceed to double-click Local Security Policy.
  3. Next, double-click Local Policies beneath Security Settings.
  4. Click Security Options
  5. Open the System objects: Default owner for objects created by members of the administrators group policy
  6. Choose Administrators group from the list
  7. Click OK

How to view or modify special permissions for files and folders

  1. Use Windows Explorer to find the file or folder that you want to view or configure special permissions for.
  2. Right-click the file or folder, and choose Properties from the shortcut menu
  3. Click the Advanced button
  4. If you want to view or change special permissions for an existing user/group, simply select the user/group, and click either View or Edit.
  5. If you want to remove a user/group and all its associated special permissions, simply select the user/group, and click Remove.
  6. If you want to specify special permissions for a newly created user/group, click Add, and enter the name of the user/group.

How to stop child folders and files from inheriting permission changes performed on parent folders

  1. Use Windows Explorer to find the folder you want to configure settings for.
  2. Right-click the particular object (folder), and choose Properties from the shortcut menu.
  3. When the Properties dialog box of the object opens, click the Security tab, and click the Advanced button.
  4. When the Advanced Security Settings dialog box appears, click the Permissions tab
  5. Uncheck the Inherit from parent the permission entries that apply to child objects. Include these with entries explicitly defined here checkbox
  6. Click OK

How to set permission for files and folders through Group Policy

  1. Open Active Directory Users and Computers
  2. Right-click the root of the domain, and select Properties from the shortcut menu.
  3. Click the Group Policy tab
  4. Choose the Default Domain Policy, and then click Edit
  5. Proceed to expand Computer Configuration, Windows Settings, and then File System.
  6. Right-click File System and then choose Add from the shortcut menu
  7. Locate the file/folder which you want to configure permissions for, and click OK
  8. You can now set permissions for the file/folder.

How to set security on accounts using Group Policy

  1. Open Active Directory Users and Computers
  2. Right-click the root of the domain, and select Properties from the shortcut menu.
  3. Click the Group Policy tab
  4. Choose the Default Domain Policy, and then click Edit
  5. Proceed to expand Computer Configuration, Windows Settings, and then Account Policies
  6. You can now specify settings for the following policies:
    • Password policy
    • Account Lockout policy
    • Kerberos policy

How to view registry access permissions

Any changes made to the registry keys and values are effective immediately.

  1. Click Start, click Run, and enter regedt32 in the Run dialog box. Click OK
  2. The Registry Editor now opens.
  3. The left pane shows the nodes in the Registry tree, and the right pane details the nodes or keys included in a particular node when you select it from the left pane.
  4. The My Computer node contains the following nodes:
    • HKEY_CLASSES_ROOT
    • HKEY_CURRENT_USER
    • HKEY_LOCAL_MACHINE
    • HKEY_USERS
    • HKEY_CURRENT_CONFIG
  5. The HKEY_CURRENT_USER node includes the Control Panel, Printers, and software keys, as well as other keys.
  6. To change permissions for the node, right-click it, and then choose Permissions from the shortcut menu.
  7. When the Permissions dialog box for the particular node appears, set the appropriate permissions.
  8. Click the Advanced button to specify advanced settings.

How to set Registry access permissions using Group Policy

  1. Click Start, click Run, and enter mmc in the Run dialog box. Click OK
  2. When the Microsoft MMC opens, click File, and Add/Remove Snap-in
  3. When the Add/Remove Snap-in dialog box opens, click Add to find the Group Policy Object Editor
  4. Click Add to start the Select Group Policy Object Wizard
  5. Because the default Group Policy Object (GPO) specified is Local Computer, click Browse to locate the Default Domain Policy. Click OK
  6. Close the wizard and all open dialog boxes.
  7. In the left tree, expand Default Domain Policy, Computer Configuration, Windows Settings, and Security Settings.
  8. Locate and select the Registry node to expand the tree of this node. You can change any existing polices from here, and add new keys.

How to audit access control

You can enable audit polices to monitor and track authorized access and unauthorized access to resources. Because auditing typically affects performance, you should carefully plan which resources you want to audit access for. The following audit polices can be enabled:

How to enable auditing for a file or folder

  1. Use Windows Explorer to find the file or folder that you want to view or configure auditing for.
  2. Right-click the particular object (file, folder), and choose Properties from the shortcut menu.
  3. When the Properties dialog box of the object opens, click the Security tab, and click the Advanced button.
  4. When the Advanced Security Settings dialog box appears, click the Auditing tab.
  5. Click Add and choose the users/groups that you want to audit.
  6. You next have to indicate whether you want to audit success, failure, or both of these.
  7. Click OK

How to enable auditing via Group Policy

  1. Open Active Directory Users and Computers
  2. Right-click the root of the domain, and select Properties from the shortcut menu.
  3. Click the Group Policy tab, choose the Default Domain Policy, and then click Edit
  4. Proceed to expand Computer Configuration, Windows Settings, Security Settings, Local Policies, and Audit Policy.
  5. Proceed to enable the appropriate audit policies, and specify whether you want to audit success, failure, or both of these.


Top 5 Free Networking Tools

Bookmark Understanding and Implementing Access Control

Latest Blog Posts


English English GermanGerman SpanishSpanish FrenchFrench ItalianItalian PortuguesePortuguese RussianRussian DutchDutch
GreekGreek HindiHindi JapaneseJapanese KoreanKorean ChineseChinese Chinese (Simplified)Chinese (Simplified) ArabicArabic

Copyright 2009 Tech-FAQ. All rights reserved. Privacy Policy.