Home > Articles

Managing Access to Resources

This chapter is from the book

Terms you'll need to understand:

  • Shares
  • Share permissions
  • NTFS permissions
  • GPMC
  • RSoP
  • Gpupdate
  • Remote Desktop
  • Terminal Server

Techniques you'll need to master:

  • Determining effective permissions combining both share and NT File System (NTFS) permissions
  • Knowing how to back up, restore, import, and copy GPO settings using the GPMC
  • Understanding how to configure a server for Remote Access using the Remote Desktop for Administration and Terminal Server service

After user accounts have been created, available networked resources can be configured to allow or deny access for each user based on permissions assignment and group policy settings. Remote users can also access application resources through Microsoft's Terminal Services. This chapter provides a brief review of the use of NTFS and share permissions, and reviews the Windows Server 2003 implementations of group policy and terminal services access control.

Creating Shares and Granting Permissions

Access to remote resources within the Windows Server 2003 environment has many qualities in common with the Windows 2000 Server environment, with new features and functionality added to improve utility, as illustrated in Figure 3.1.

Figure 3.1Figure 3.1 An example of the new Remote Desktops MMC snap-in that provides multi-console functionality similar to the earlier Terminal Services client of Windows 2000.

Creating Shares

Creating network folder shares remains similar to the implementation in Windows Server 2000, with all available shares listed within the Shares subfolder of the Shared Folders node presented in the Computer Management MMC snap-in, as shown in Figure 3.2.

Figure 3.2Figure 3.2 The Computer Management MMC snap-in showing file shares present on a Windows Server 2003 running Microsoft Exchange.

Creating a New Share Using the Computer Management MMC Snap-in

New file shares can be created within the Computer Management MMC snap-in by performing the following steps:

  1. Open the Computer Management MMC snap-in located within the Administrative Tools folder.

  2. Navigate to the Shared Folders node, highlighting the Shares subfolder if you want to view the existing shares.

  3. Right-click on the Shares folder and select New Share from the options provided. Click Next.

  4. Provide the local Folder Path that will be shared as the newly created share. By clicking the Browse button, you can create a new folder if the desired target does not yet exist. Click Next.

  5. Provide a share name and optional description, and configure the offline file settings for this share, which will be discussed later in this chapter. Click Next.

  6. Select the permissions to be granted by default to the share. The options available are as follows:

    • All users have read-only access.

    • Administrators have full access; other users have read-only access.

    • Administrators have full access; other users have read and write access.

    • User custom share and folder permissions—this allows selection of detailed allow and grant permissions.

  7. After clicking Next, you'll be notified of the success of the sharing action and provided the option to close the Share a Folder Wizard or to run the wizard again to share another folder.

Creating a New Share Using Windows Explorer

New file shares can also be created within the Windows Explorer interface by the following procedure:

  1. Open Windows Explorer by double-clicking on the My Computer icon, and then navigating to the desired target folder.

  2. Right-click on the target folder to be shared and select Sharing and Security from the drop-down list of options. This opens the Properties dialog box for the selected folder with its focus set to the Sharing tab.

  3. You'll be prompted to provide a share name, an optional description, and the number of users who can connect to the share at one time. By clicking the Permissions button, you can configure the Share Permissions for the newly created share, as shown in Figure 3.3.

  4. Figure 3.3Figure 3.3 The Sharing and Share Permissions dialog boxes for a newly created share named UserFiles.

  5. Click Apply to create the new share or click the Security tab, where you configure the NTFS permissions for the shared folder as shown in Figure 3.4.

  6. Figure 3.4Figure 3.4 The Security tab for a newly created share whose target is the UserFiles folder.

  7. Click the Advanced button to open the Advanced Security Settings dialog box for the folder, which is the standard dialog box used for advanced NTFS files and folder permissions, as shown in Figure 3.5. Here, you can select whether the parent container object will be propagated to the child object.

  8. Figure 3.5Figure 3.5 The Advanced Security Settings dialog box for the MyDocument.txt file.

  9. You can evaluate the effective permissions based on the overall inherited and directly applied permissions by selecting the Effective Permissions tab, as shown in Figure 3.6.

  10. Figure 3.6Figure 3.6 The Effective Permissions tab within the Advanced Security Settings dialog box.

  11. After all permissions have been configured, click the Apply button to apply the new settings. When fully configured, click OK to close the Permissions dialog box.

Creating a New Share Using the Command Line

New file shares can also be created within the command line using the net share command, which is one of the many available net services commands present within Windows Server 2003.

NOTE

The syntax of the net share command is provided in the Microsoft help file:

net share [ShareName]
net share [ShareName=Drive:Path [{/users:Number | /unlimited}]
[/remark:ÓTextÓ] [/cache: {manual | automatic | no}]]
net share [ShareName [{/users:Number | unlimited}] 
[/remark:ÓTextÓ] [/cache: {manual | automatic | no}]] net share [{ShareName | Drive:Path} /delete]

To see a listing of all the parameters and their meanings, type the following at the command line:

net share /?

Table 3.1 lists a few of the more common commands you should be familiar with.

Table 3.1 Some Common net Services Commands in Windows Server 2003

Command

Description

net accounts

Used to modify password and logon settings for all accounts

net config

Displays or modifies the settings of available configurable services

net file

Displays a listing of shared files and can close open files

net help

Displays a listing of network commands

net send

Sends a message to other users or computers

net session

Displays a listing of current network sessions

net share

Used to display, create, and modify file shares

net start

Used to display a listing of running services or to start an individual service

net stop

Used to stop a running service

net use

Used to connect or disconnect from a shared resource


CAUTION

Shares created through the use of the net share command are created with the Everyone group having Read permissions.

Creating a New Share Using the Server Management Wizard and File Server Management MMC Snap-in

New file shares can also be created within the Server Management Wizard if the File Server role has been configured for the computer as well as the File Server Management MMC snap-in, which is also accessible from within the Server Management Wizard, as shown in Figure 3.7.

Figure 3.7Figure 3.7 The File Server Management MMC snap-in showing existing shares.

Creating file shares using the Server Management Wizard and File Server Management MMC snap-in invokes the same Share a Folder Wizard invoked from the Computer Management and Windows Explorer utilities.

Offline Settings for Shared Resources

Shares configured for offline storage are copied into a local cache so that users can continue utilizing, editing, and otherwise manipulating files even while disconnected from the network. This is an advantage to mobile users, whose files are copied to the offline cache when they're in the office and then later used while disconnected. The files are later synchronized with their original counterparts on the next connection to the network.

Configuring the offline settings for a particular share can be accomplished by clicking the Offline Settings button on the Sharing tab of the share's properties page, as was shown in Figure 3.3. The share can be configured so that files and programs from the share will not be available offline, so that only those specified by the user will be available offline, or so that all files and folders the user opens from the share will be cached for offline access. The last option can be used to select to optimize for performance, which caches program executables locally, improving shared application performance over slow networks.

This configuration can also be accomplished using the net share command-line utility with the /cache parameter in the following format:

net share  /cache: <manual/documents/programs/none>

Granting Permissions

The final permissions that are granted when accessing shared resources are determined based on the NTFS permissions assigned to a resource or inherited by an account through its group membership, in addition to the share permissions configured for a particular share.

CAUTION

It's possible to have different access rights over the same file or folder when accessed through separate shares. Although the NTFS permissions over the file (for example: C:\USER\New\myfile.txt) remain the same, the share permissions for one share (for example: UserFiles, mapped to C:\USER) can be very different from those granted through another (for example: NewFiles, mapped to C:\USER\New).

Assigning Share-Level Permissions

Share-level permissions are more limited than NTFS permissions because they define only the level of shared folder access that is granted or denied when accessing resources through the share. The available share permissions are as follows:

  • Full Control—Allows both Read and Change permissions, in addition to the ability to later change the Permissions on the share.

  • Change—Allows the ability to create, modify, and delete resources within the share.

  • Read—Allows the ability to view filenames and folder names within the share, as well as the ability to view and execute files located within the shared folder.

TIP

It is not possible to grant Change permission over a share without also granting the Read permission.

NTFS Permissions

Files and folders can be provided with detailed assignments of access rights and restrictions through the use of NT File System (NTFS) permissions, as was shown in Figure 3.4. These permissions can be assigned directly to a particular file or folder, or inherited from its parent container. The effective permissions combining both directly assigned and inherited permissions (with regard to a particular user or group) can also be viewed as shown earlier in Figure 3.6.

NOTE

NTFS permissions are available only when a volume or partition has been formatted using NTFS. FAT32-formatted volumes have only folder (share-level) permission configuration.

When planning for file access control, it's important to include NTFS permission assignment and restrictions. Users accessing local files will only be restricted by the NTFS permissions, whereas users accessing shared resources will encounter a combination of both share and NTFS permissions. Table 3.2 details the basic NTFS permissions available.

Table 3.2 Basic NTFS Permissions

Permission

Description

Full Control

Includes all other NTFS permissions configured, as well as the ability to take ownership of files or other containers within the target location.

Modify

Allows the creation, modification, and deletion of files and folders.

Read & Execute

Includes the rights of the Read permission in addition to the ability to traverse a folder and execute a file.

Read

Allows the ability to read file and folder attributes, list folder contents, view files, and synchronize files access.

Write

Includes the rights of the Read permission in addition to the ability to create new files and folders, modify existing files, and write file and folder attributes.

Special Permissions

This option is available only when advanced permission settings have been configured. Allows control over the application of Advanced permission settings.


The Advanced NTFS permissions available in Windows Server 2003 include the following:

  • Traverse Folder/Execute File

  • List Folder/Read Data

  • Read Attributes

  • Read Extended Attributes

  • Create Files/Write Data

  • Create Folders/Append Data

  • Write Attributes

  • Write Extended Attributes

  • Delete Subfolders and Files

  • Delete

  • Read Permissions

  • Change Permissions

  • Take Ownership

  • Synchronize

Calculating Final Permissions

To plan the final set of permissions that result from assigned and inherited permissions, the NTFS and share permissions should be calculated using the least restrictive set of permissions for each. Then the aggregate of the resulting NTFS and share permissions is determined by using the most restrictive combination of the aggregate NTFS and share permissions. In all cases, an assignment of a Deny setting overrides all assignments of Allow settings. The process is as follows:

  1. Determine the least restrictive combination of NTFS permissions over the resource based on direct assignment and inheritance. Any permission configured as Deny will be denied, even if set to Allow elsewhere.

  2. Determine the least restrictive combination of share permissions over the resource based on direct assignment and inheritance. Any permission configured as Deny will be denied, even if set to Allow elsewhere.

  3. Determine the most restrictive combination of the aggregate NTFS and share permissions from steps 1 and 2. Any permission configured as Deny through either aggregate will be denied. This is the final set of access permissions available through a particular share.

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020