File sharing with Windows XP

File sharing with Windows XP

The Windows XP Operating System has many enhanced security features over its predecessor. One example of this is the built-in personal firewall. But one of the new features can turn out to be security issue, especially if you are on a network and sharing files with others, making them available to everyone in the workgroup.

That enhancement is the Shared Documents folder. This folder appears in "My Computer" located on the desktop. Essentially it is a pointer to another area on the disk, and it contains files that are, by default, shared with others on the network and can be shared with others on the Internet.

This may not be too much of a concern if you have a standalone workstation, but if your computer is part of a Workgroup, the security implications are obvious. As you know, when file sharing is enabled and not properly protected, you are welcoming unwanted access to your network. If you feel that this can be a security issue to your network, you can remove the shared documents folder by performing the following:

  • Run regedit
  • Go to HKEY_CURRENT_USERSoftwareMicrosoftWindows CurrentVersionPoliciesExplorer
  • In the right pane right-click and select New>DWORD Value
  • Name the new value NoSharedDocuments
  • Double-click this new value and enter 1 as its Value data
  • Close the registry editor
  • Restart Windows for the changes to take effect.

Alternatively, double click on My Computer, and then right click on the Shared

    Requires Free Membership to View

    SearchSecurity.com members gain immediate and unlimited access to breaking industry news, virus alerts, new hacker threats, highly focused security newsletters, and more -- all at no cost. Join me on SearchSecurity.com today!

    Michael S. Mimoso, Editorial Director

    By submitting your registration information to SearchSecurity.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchSecurity.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

Documents folder. Select Sharing, and reset the defaults to disable sharing of the folder and contents, if you don't want to delete the folder altogether.

About the author

Adesh Rampat has 10 years of experience with network and IT administration. He is a member of the Association of Internet Professionals, the Institute for Network Professionals and the International Webmasters Association. He has also lectured extensively on a variety of topics.


This was first published in December 2002

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.