Using Simple File Sharing in Windows

written by: Amanda Fitzperich; article published: year 2006, month 10;


In: Categories » Computers and technology » Microsoft OS family » Using Simple File Sharing in Windows

Although most home users are typically happy letting anyone at any computer read or modify any file, business users need to restrict access to files with payroll, personnel, and proprietary information. Windows XP and its predecessors, Windows NT and Windows 2000, were primarily designed for business use, so they require usernames and passwords for identification, and have a security system that lets computer owners restrict access to sensitive files on a user-by-user and file-by-file basis on each computer.

Unfortunately, on a Windows workgroup network, there is no centralized list of authorized usernames. This makes maintaining control of who is and isn't permitted to access network files on each computer difficult. Here's why: When you attempt to use a file or printer shared by another computer, Windows sends your username and password to the other computer. In versions of Windows prior to XP

  • If the username and password matched a user account already set up on the other computer, Windows used that account's permission settings to determine whether to grant you access to the file.

  • If the user information didn't match, Windows prompted you to enter a username and password that the other computer will recognize.

  • If you failed to provide a valid password, the remote Windows computer gave you the permissions assigned to the "Guest" account, which was usually disabled or didn't have permission to access the resource you wanted.

The advantage of this system was that it let you determine precisely which users could access specific files and printers. The disadvantage was that it required you to set up identical user accounts for each network user on every computer, and then grant these users permissions to view and modify shared files and folders.

Smaller business and home users found this security setup cumbersome to use and difficult to set up properly. This pushed people into sharing accounts and passwords, and otherwise avoiding good security practices, just to get the network to work. That's a risky approach, so Microsoft gave Windows XP a new feature called Simple File Sharing.

When Simple File Sharing is enabled

  • Network users are always given access to shared folders and printers, without being prompted for a username or password. They are automatically granted access to files and folders using the permissions granted to the Guest account, even if Guest is disabled for direct logins.

  • The Security properties tab that is normally used to assign per-user permissions to files and printers is not displayed, even for files that are stored on a drive formatted with the NTFS file system. Files stored in directories in a user's profile folder (My Documents, for example) are automatically set up to permit access only by the owner, and files stored elsewhere are set up to permit access by anyone.

  • Windows automatically assigns appropriate security permissions to folders and printers when you share them. If you check Allow Network Users to Change My Files, all network users can read, write, rename, or delete the contents of the shared folder. If you don't check this option, network users can view but not modify the contents.

The result is that, with Simple File Sharing in effect, anyone who connects to your network will have access to all files, folders, and printers shared from a Windows XP computer, with no security enforcement of any kind. This has the advantage of eliminating all worries about having to manage accounts and passwords on multiple computers, but it does mean that you have to keep in mind these points:

  • The "Shared Documents" folder that appears under My Computer is automatically set up as a shared folder, the idea being that any files you place in it will be available not only to other users on your computer, but to other users anywhere on your network.

  • You don't get to pick and choose who gets access and who doesn't. Everyone gets access to every shared resource.

  • If you have an unsecured wireless network with no WEP or WPA security key, anyone driving by your home or office will not only be able to connect to your network, they'll be able to see and/or modify your shared files.

In the end, it's a reasonable trade-off, as long as keep in mind the fact that all shared files and folders are available to anyone who can connect to your network. You should also keep in mind that

  • Simple File Sharing is always used on XP Home Edition, and cannot be disabled. This means that anyone can use any resource shared by a computer running XP Home Edition.

  • Simple File Sharing is optional on XP Professional, when the computer is part of a workgroup network. It's enabled by default when Windows is installed, but you can disable it if you want to use the user-level security on files and/or shared resources.

  • Simple File Sharing is always disabled on an XP Professional computer when it's joined to a domain network. User-level security is always used in this case.

  • Simple File Sharing applies only to the resources shared by the computer running Windows XP. If you use XP to used folders shared by a computer running some other operating system, Windows Me or Mac OS X, for example, that operating system's security system will be used.

On an XP Professional computer that is not a member of a domain network, the Simple File Sharing feature can be disabled from the Tools, Folder Options, View tab in any Windows Explorer window. You must be logged on as a Computer Administrator to change the setting.

Tip

If you disable Simple File Sharing, a remote user will have to supply a username and password valid on your computer in order to use a shared resource on your computer. In this case, it vastly simplifies things if you set up an identical account for each user on each of your computers. For each user, pick a username and password, and use that same name and password on every computer.


Also, if Simple File Sharing is disabled, your computer will display different dialog boxes when you go to share a folder, and you'll have access to the Security properties page on folders and printers.

legal disclaimer

1) Our website is not responsible for the information contained by this article as well for any and all copyright infringements by authors and writers. E-articles is a free information resource. If you suspect this article for any copyright infringements, please read the Terms of service and contact us to investigate the problem.
2) The E-articles directory team is not responsible for inaccuracies, falsehoods, or any other types of misinformation this tutorial may contain and will not be liable for any loss or damage suffered by a user through the user's reliance on the information gained here. Please read the Terms of service

Useful tools and features

Translate this article to...    Send this article to you or to a friend

Link to this article from your page   
If you like this article (tutorial), please link to it from your web page using the information above. Linking to this page, this is the only way to help us improve our service, the same time providing your visitors with a way to improve their online experience.

related articles

1. MS DOS Versus PC DOS
With modern PCs having a very high level of standardization and compatibility, today it is easy to see how Microsoft can market complete packaged operating systems that will install and work unmodified on practically any PC you can purchase or build. Without the standardization and compatibility we have come to depend on, different specific "flavors" of a given operating system would be required for specific different hardware. That is exactly how things were back in the early '80s when the IBM PC was introduced. Many o...

2. How to make your PC Available for Remote Desktop Connection
To use Remote Desktop to reach your computer from the Internet, both the computer and your Internet connection must always be up and running. In addition, you must be able to make connections from the outside world to your computer, so there are additional requirements: If you use dial-up Internet service, you'll need someone at home to establish the connection before you can connect to your computer. If you use cable or DSL Internet service, you must either have a static IP address ass...

3. How to Update DirectX ~ Advantages
Although most Windows applications place fairly low demands on the display system, putting up fairly static displays and updating them relatively infrequently, interactive games and video displays are very graphics intensive. Game players pay big bucks for fps, or frames per second, which is a measure of how fast the hardware and software can generate new images as the scene changes and objects move. Under about 30fps, the image flickers and motion is noticeably jerky. Beyond 30fps, faster updates aren't noticeable, and the e...

4. The Evolution of Microsoft Windows ~ The Windows 9x Family
By the mid-1990s, processor power had increased and memory prices had decreased dramatically since Windows' original release. The Internet had also sprung onto the world stage, from an academic tool to an instrument of global communication and commerce. (You may recall that Windows 3.1 did not even include support for the TCP/IP network protocol used on the Internetyou had to purchase it from a third-party vendor.) Users' expectations likewise had grown with computers' capabilities, and desktop publishing, graphics editing, and...

5. How to install Windows and Installation Types
Deciding on the type of installation to perform is dictated by many factors, such as the following: Is there an operating system currently installed? If so, do you want to preserve settings and configurations, or start from scratch? Will the installation be performed interactively or remotely? How many computers are to be installed at a single time? Is your network arranged in a domain model using Active Directory? These are ...

6. How to adjust Text Icons and Window Element Sizes
If you find the items on the screen difficult to read or see, you can either lower the screen resolution, which makes everything larger but blurrier, or ask Windows to make the elements themselves larger while keeping a crisper, high screen resolution. There are two ways you can do this. Here's the first procedure: 1. Right-click the Desktop and select Properties. 2. Save the current screen settings so if you're unhappy with the results, you can back the changes out. Select the Themes tab, click Save As, and enter ...

7. DOS Versions
Let's take a look at the actual nuts and bolts that constituted each version of DOS. DOS 1.x PC DOS 1.0 was introduced along with the IBM PC on August 12, 1981, and supported only single-sided 5.25-inch drives. Floppy disks were formatted using 8 sectors per track (one side, 40 tracks) resulting in a capacity of only 160KB when formatted. There was no support for hard disks at all, which were generally quite rare for personal computers at the time. DOS was a text-based operating system, hence there was no graphi...

8. How to Back Up and Restore the Windows Registry
Before diving into Registry modifications, I'll talk about backing them up. Every computer book I've seen stresses these facts: 1. There is no Undo key in the Registry Editor. 2. Improper changes to the Registry can keep Windows from booting, or can make subsystems fail to work....