2007-03-27 – This article is very old and I’m republishing it as it was, without any edits. At the time I was a youngin’, so please accept my apologies in advance đ
As I found out yesterday, sharing folders on Windows XP using Simple File Sharing is like leaving your back door unlocked while you’re upstairs. This article discusses ways to make folder shares secure on Windows XP Home and Professional by allowing the use of user and group permissions.
Simple File Sharing â Why itâs a pain
Simple file sharing is, just as itâs name suggests; simple. It doesnât concern itself with who can or canât get at your files, nor does it distinguish between who you want modifying your files and who youâd rather not. This is fine on your personal home network, as itâs safe to bet you trust the people whoâre using it. Not so on an open network, such as a companyâs, or indeed an academic one.
Looking at it from a users point of view, it gets the job done. From an administratorâs point of view itâs pretty messy â It doesnât take much for a disgruntled employee to poke around in the R&D departments shared files before they find something theyâre competitors (and soon to be new employers) may be very interested in. And finally from a geeks point of view it really is incredibly frustrating being told by Windows I canât control access to my PC.
XP Home Vs XP Pro
As we all know, XP Home is aimed at, well, home users. Only a lot of people using it arenât your typical home user; they need the flexibility to be able to control access to their files on the network. Having used XP Pro at home, I was disappointed to find that Home wonât let you turn off simple file sharing.
With XP Professional, the options to enable permissions and get rid of Simple File Sharing are there, theyâre just not in the most obvious of places.
So, onto disabling SFS and getting control of your PC back.
Setting Share Permissions for XP Pro
The solution for XP Pro is relatively simple:
My Computer » Tools » Folder Options » View Tab.
Go right down to the bottom of the list, and uncheck Use Simple File Sharing (Recommended).
Now go back to your shared folderâs properties
Right Click on Shared Folder » Sharing and Security.
You are now able to set permissions. Hooray!
Folder Sharing Permissions on XP Home
XP Home wonât let you turn off Simple File Sharing like on XP Pro, so we have to go around it. To allow you to set permissions on your shares follow this:
Start » Run » Type âshrpubwâ into the box and hit OK.
A nice menu now appears allowing you to specify what you want to share, and to describe it.
Click next and the following options are fairly self explanatory. however, remember that with XP Home âOther Usersâ is usually the Everyone group which includes the Anonymous group.
If you wish to prevent anonymous access and properly lock down your permissions, you should choose Custom, delete the âEveryoneâ entry and add the groups and users you want to control access for.
Final Thoughts
I mainly use XP Pro at home, so to be honest I didnât even know of the âshrpubwâ method until yesterday, whilst searching for a way to control Share permissions on my XP Home Laptop. So, if you found this article useful, please, please, please pass the link on to others who you think might benefit. After all, knowledge is power and all that.
Phil