Beyond Simple File Sharing: Using Hidden Shares
By Eric Geier
You've probably figured out how to share and access files and folders among the computers on your home or small-office network, by browsing through My Network Places or Network. However, do you know you can secretly share folders or drives (called creating a hidden or administrative share) so not everyone on the network will see them when browsing through shared resources?
This tutorial will take you step-by-step through setting up and using hidden shares.
Why Use Hidden Shares?
Using hidden shares on your network is useful if you do not want a shared folder or drive on the network to be easily accessible. Hidden shares can add another layer of protection for shared files against unauthorized people connecting to your network. Using hidden shares helps eliminate the chance for people to guess your password (or be logged into an authorized Windows account) and then receive access to the shared resource.
Default Hidden/Administrative Shares
Windows automatically shares hard drives by default for administrative purposes. They are hidden shares named with the drive letter followed by a dollar sign (e.g., C$) and commented as Default Share. Thus, certain networking and administrator functions and applications can work properly. Not that preventing Windows from creating these hidden or administrative shares by default each time your computer boots up takes a registry change.
You can likely already access the hard drives of your Windows XP machines from other computers on the network, using the UNC path and an Administrators password, as explained near the end of the next section. However, in Windows Vista, you'll be able to access these shares only if your computers are in a Domain instead of a Workgroup. The way around this is to create a hidden share with a different share name.
Creating Hidden Shares in Windows
Creating a hidden share or converting a regular share into a hidden share is also essentially the same across all Windows versions and editions. To make a shared folder or drive hidden, simply add a dollar sign ($) to the end of the Share Name.
The following steps illustrate how to create a hidden share:
Now, when you want to access the hidden share, bring up Internet Explorer or My Computer (or just Computer in Vista), enter the UNC path (\\computername\sharename$) of the share and hit Enter. Depending on the Permissions specified for the hidden share and the Windows account you're currently logged onto, you'll either have to enter a username and password or be given access right away.
You've discovered a file sharing technique that makes sharing folders and drives on your network inconspicuous. To wrap this tutorial up, here are two points and tips to keep in mind.
First, it's important to understand that the presence of hidden shares isn't completely undetectable by people on your network. Some network tools can search for and display the filenames within hidden shares. Hidden shares are, however, concealed from casual users browsing the network in My Network Places in Windows XP or Network in Vista.
Second, hidden shares also can have the same types of permissions imposed on them as regular shares. So you can still require a person to enter the login credentials of an account listed in the permission settings of the hidden share, or be logged into a Windows account with the same username and password, before the files can be opened.
Stay tuned I'll discuss mapping network drives in the next tutorial of this series.
Good luck in your networking endeavors!
Eric Geier is an author of many wireless networking and computing books including Home Networking All-in-One Desk Reference For Dummies (Wiley 2008) and Wi-Fi Hotspots: Setting up Public Wireless Internet Access (Cisco Press 2006).
For more help, check out the PracticallyNetworked Forums.
|Home | Networking | Backgrounders | Internet Sharing | Security | HowTo | Troubleshooting | Reviews | News | About | Jobs | Tools | Forums|