Establish the correct file-sharing permissions in Windows XP

 

Summary

With the NT file system (NTFS) in Windows XP, you can set file permissions at the local PC level in addition to the file-sharing permissions of the network environment. Along with this additional functionality comes complexity and the potential for all kinds of admin headaches. This article reviews the file and folder permissions in Windows XP.

Events

Echelon 2012
June 11 and 12, 2012

University Cultural Centre, National University of Singapore

Startup Asia Jakarta 2012
June 7 and 8, 2012

12th Floor, Annex Building, Wisma Nusantara Complex, Jl. M.H. Thamrin No. 59 Jakarta 10350, Indonesia

MMA Forum Singapore
April 23-25, 2012

Grand Hyatt Singapore

With the NT file system (NTFS) in Windows XP, you can set file permissions at the local PC level in addition to the file-sharing permissions of the network environment. Along with this additional functionality comes complexity and the potential for all kinds of admin headaches. One harried manager wants to know why he can’t access the data on a colleague’s PC that he needs to assemble a presentation; another can’t figure out why the mailroom intern was able to browse the files he thought he had secured. More options mean more chances for confusion and user error, and if you don’t have a thorough understanding of the various permissions and their relationships, it can be nearly impossible to sort out a permission problem and find a solution.

We’ll review the file and folder permissions in Windows XP. Once you understand Windows XP permissions and how they interact, you’ll be able to troubleshoot permission issues that occur on your network more quickly.

Watch file-sharing and NTFS permission interactions
In any Windows network environment (peer-to-peer or server-based), you can set sharing permissions for drives and folders. By default, when you set up a PC on a network, no drives or folders on that PC are shared. The local user of that PC can then choose to share entire drives or individual folders on a drive. This type of security is not really that secure, however, because it affects only network access. Local access (that is, someone sitting down at the PC and logging on) is wide open.

For drives formatted with NTFS, you can set NTFS permissions. These can affect drives and folders and individual files too. NTFS permissions affect local users as well as network users and are based on the permission granted to individual user logons, regardless of where they’re connecting. You also have a much wider variety of permissions to choose from with NTFS permissions, so you can more precisely control the rights being granted.

When sharing permissions and NTFS permissions conflict, the most restrictive of the two wins. For example, if someone has full access to a certain file from NTFS permissions but has no sharing permissions to the folder in which it resides, he or she cannot access the file from the network. He or she can, however, physically sit down at the local PC containing the file, log in, and access it, because sharing permissions do not affect local access.

Working with shared folders
Shared folders provide remote access to the files on a PC. Folder sharing is available on drives using all types of partitions: FAT, FAT32, or NTFS. To share any folders (or any printers, for that matter) on a Windows XP PC, File And Printer Sharing For Microsoft Networks must be installed as a networking component. To check for it, right-click the Local Area Connection icon in the Windows XP taskbar and choose Status. From the Local Area Connection Status dialog box, select the Properties button to see the listing shown in Figure A. If File And Printer Sharing For Microsoft Networks doesn’t appear on the list, add it by clicking the Install button and choosing it from the Services category.

Figure A

File And Printer Sharing For Microsoft Networks must be installed to share folders over a network.

After File And Printer Sharing For Microsoft Networks is in place, you can share individual drives and folders by right-clicking a drive or folder and choosing Sharing And Security. When you do, the Sharing tab of the Properties dialog box will open.

Sharing is slightly different for drives than for files. With a drive, you might see a default share already set up. These have a dollar sign ($) following the share name, as shown in Figure B. Such shares are for administrative use only; ordinary users won’t be able to see or browse a drive shared in this way on the network. Consequently, if you want to share an entire drive like this on your network, you must create an additional share for it.

Figure B

C$ is the default administrative share for this drive; it doesn’t count as a user-to-user share.

To create a new share for a drive, click the New Share button and then fill in the Share Name, any comment you want to make, and a user limit for concurrent usage (if desired). While you’re in the New Share dialog box (see Figure C), you can click the Permissions button to specify who will have access to the shared drive or you can save that for later.

Figure C

Create a new share to allow other users to access the drive.

For a folder, the process is more straightforward because there are no default administrative shares. By default, a folder is set to Do Not Share This Folder. To share it, right-click the folder and select Sharing And Security from the resulting pop-up box. Choose the Share This Folder button and then enter a share name, comment, and user limit.

Regardless of whether you’re sharing a folder or a drive, you can configure permissions the same way: Display the Sharing tab and click the Permissions button. A Permissions dialog box will appear, as shown in Figure D. By default, all permissions are granted to everyone.

Figure D

Limit permission to the folder or drive, if desired.
If you plan to use NTFS permissions in conjunction with sharing permissions, you might want to leave the sharing permissions set at the default “free-for-all” settings and rely on the NTFS permissions to lock down certain sensitive items. However, if you aren’t going to use NTFS permissions, or if you can’t because the drive is FAT or FAT32, you might want to restrict access at the sharing level.

Note in Figure D the three types of sharing permissions:

  • Read: Users can display the contents of the folder, open files,     display attributes, and run programs.
  • Change: Users have all the rights of Read, plus the ability to     create new folders and files within the shared folder or drive,     open and change files, change file attributes, and delete folders     and files.
  • Full Control: Users have all of the rights of Change, plus the     ability to take ownership of files and change file permissions.


  • Everything within a shared drive or folder inherits its sharing permissions. For example, if a shared drive has 10 folders, all of those folders have the same sharing permissions as the drive, unless they are set otherwise. Permissions are cumulative, which means that, in the event of a conflict between a specific folder’s permissions and those it has inherited from the drive (or parent folder), the most lenient wins. For example, if you allow Read access on a folder and don’t allow Change or Full Control on that folder, but the drive itself allows Full Control, that folder will also have Full Control access permitted.

    For each setting (Read, Change, and Full Control), you can choose the option to Allow or Deny. The default is set to Allow. If you don’t want to allow a particular permission, you simply deselect the Allow check box. “Disallowing” something (that is, turning off Allow permissions for it) takes away that right but enables the folder to inherit permissions from the parent folder or drive.

    When you share a folder or drive, only one group has permissions assigned by default: the Everyone group. That means all users will have the same permission rights to the object, regardless of any group affiliation. You can delete the Everyone group from the list and/or add other groups or individuals to the permissions list. You might, for example, delete the Everyone group from the list entirely or leave it there and set it to allow Read permission only and then add the Administrators group to the list and grant that group Full Control.

    To add a group or user to the permissions list for an object, start from the Permissions dialog box (Figure D), click the Add button, type the user or group you want in the Select Users Or Groups object name box (Figure E), and click the OK button. If you don’t know the exact name of the group or user, click on the Advanced button and select Find Now to perform a search on the available choices. When you’re finished, click OK to return to the Permissions dialog box. The users and groups you chose will appear on the Permissions list, ready to have their permission levels set.

    Figure E

    Specify other users or groups to receive permissions.

    Get file permissions right the first time
    The proper sharing of files on a network is of extreme importance to you, the network administrator. Without a thorough understanding of how Microsoft configures file sharing, you’ll find your users making daily demands of your time to fix file access problems. Upcoming articles will specifically address NTFS permissions in Windows XP and using the two types of permissions effectively.

    Talkback

    I cannot get the same option tabs on my system, the sharing window looks totally different when I right click propoerties on my drives

    can you help

    Lee Privett October 9, 2003

    Windows XP Pro users will have more control over how files are shared by turning off Simple Sharing.

    To turn off Simple Sharing:

    Click Start, and then click My Computer

    From the Tools menu, select Folder Options
    On the View tab, clear the Use Simple File Sharing (Recommended) check box under the Advanced Settings section

    Click OK

    Once Simple Sharing is turned off, there are three main steps to sharing files: creating a user to connect to the share; sharing the folder; setting up share permissions.

    Creating a User to Connect to the Share

    Click on the Start Menu and select Control Panel
    Click on User Accounts
    Click Create a New Account
    Enter the desired username and click Next
    Select either Computer Administrator or Limited account type
    Click Create Account
    To set a password, click on the user account
    Click Change the Password
    Enter the password information and click Change Password
    Sharing Folders

    Right-click on the folder to be shared
    Select Sharing and Security
    On the Sharing tab, click Share This Folder
    Specify a name for the share in Share Name and specify the allowed number of users

    Setting up Share Permissions

    When Simple Sharing is turned off, permissions that are given to everyone apply only to users with a valid username and password on the machine, not everyone on the network.

    To set up a folder so that anyone with a username and password on this computer can read its contents but not edit them (CampusShare):

    Right-click on the folder to be shared and select Properties
    On the Sharing tab, click on the Permissions button
    Give everyone Full Control
    Hit OK to return to the properties dialog box
    On the Security tab, give everyone and users Read & Execute, List Folder Contents, and Read access
    To set up a folder so that anyone with a username and password on this computer can deposit files in it, but not read or access them afterwards (DropBox):

    Right-click on the folder to be shared and select Properties
    On the Sharing tab, click on the Permissions button
    Give everyone Full Control
    Hit OK to return to the properties dialog box
    On the Security tab, give everyone and users List Folder Contents and Write access
    To set up a folder that only a specific

    Paul Darke April 8, 2004

    Hi there

    Open My Computer, Select Folder Options from the Tools menu. Click the View tab. Scroll down to the bottom of list, uncheck Use Simple File Sharing.

    Cheers

    Al Ryalls

    Al Ryalls July 28, 2004

    GOOD ONE

    the answer that solved my problem. thx !

    Mos Craciun December 17, 2008

    If you have XP Home Edition, it won't look like the dialog shown above. It will look even more dumbed-down.

    Ahrlando Webber January 17, 2005

    i use pro. Xp for my OS and my boss uses WIN95 workstation,seems i can find his computer to the entire Lan system.was there any conflict between the two OS regarding in file and printer sharing..what can i do....?help please...

    Rovique February 10, 2005

    Yeah, I have been trying to network an XP Pro machine and an XP Home machine and I was running into alot of differances... subtle but definite. I'm having trouble setting permissions - any advice?

    Gabe March 28, 2006

    i am on a windows network and i am failing to access fileserver to HTML.i am only able to access websites that i only opened today before i had this problem

    Victor Musvibe August 3, 2006

    GOOD ONE

    the answer that solved my problem. thx !

    Mos Craciun December 17, 2008
    Add your opinion

    In order to post a comment, you need to be registered. (Sign In or register below)

    Post your comment

    ZDNet Asia Live

    Fanboys on AV for Mac: "ludicrous" "a waste of time" "The Mac will protect me" "the most secure ever" "impenetrable" http://t.co/a1o2Sz7E

    RT @ameliatmy: the hottest angel investment & venture capital event in #MALAYSIA! will u be there? http://t.co/ChSjkmzu #ABAF

    Singapore Game Box in the ZDnet news!
    http://t.co/UuTs0SqX http://t.co/YdPKmm39

    #radio Radio Bolivia by EnjoyIT 1.0 http://t.co/fdlBPOeI

    RT @zdnetasia: SingTel acquires HungryGoWhere for US$9.4 million. http://t.co/Qho1REVZ

    Gartner: Mobile CRM gives better ROI than social - http://t.co/s5OfTAXK #CRM

    RT @zdnetasia: S'pore sets up portal to grow games sector. http://t.co/In8gtj7L

    #Malaysia: 20% yoy rise in overall #wages for both direct and non-direct labor. http://t.co/5T2e0LUU

    RT @mikebuetow: #Malaysia: 20% yoy rise in overall #wages for both direct and non-direct labor. http://t.co/5T2e0LUU

    @88tc88 RT @KevinZDNetAsia: User experience more important to app monetization than actual content http://t.co/ogbD5wyI… #li #dm12

    Dubbed the first social #Olympics, this year's summer games have some of the strictest social rules for all involved http://t.co/4HlcqhW3

    Value of big data analytics largely untapped - Zd Net http://t.co/ZuhPrCN4: Pushing cloud limits for d... http://t.co/VyOU0vHz #TheBIBlog

    Value of big data analytics largely untapped http://t.co/026PCpSc @zdnetasia

    RT @data_nerd: Value of big data analytics largely untapped http://t.co/026PCpSc @zdnetasia

    Active WebTraffic - Downloads - ZDNet Asia: Active WebTraffic is a web promotion tool that includes ... http://t.co/fMJepPh8 #webtraffic

    So much as we know , MTK6575 extremely integrated frequency1GHz ARM Cortex-A9 processor, the superiority of 3G / HSPA Modem, and help the...

    14 hours ago by y15822137359 on 5 SaaS adoption speed bumps to avoid

    I reckon your view: "CRM is strategy, not software", if a company replicating the approach uses in ERP implementation into CRM, what they...

    1 day ago by wykoong on Gartner: Mobile CRM gives better ROI than social

    This video will teach you about the Excel fill handle but also provide you with a workook to download... http://www.youtube.com/watch?v=...

    2 days ago by TradeBrother on A quick fill handle trick for Microsoft Excel

    waiting...

    4 days ago by eapete on What should count in a company's market value?

    Boy, you've opened a can of worms now.

    Wait for the rants & raves.

    4 days ago by eapete on What should count in a company's market value?

    I was puzzling before this whether to replicate the success formula we executed for a financial institute, and come out with a standard s...

    4 days ago by wykoong on Drop the egos, copy ideas, then innovate