Hiding Your Shared Folders

By Paul McFedries  Add a new comment

Setting up user accounts with strong passwords and then applying shared-folder permissions on those accounts are the necessary network security tasks, and in most small networks they're also sufficient for achieving a decent level of security. However, when it comes to securing your network, a healthy dose of paranoia is another good "tool" to have at hand. For example, the properly paranoid network administrator doesn't assume that no one will ever infiltrate the network, just the opposite: The admin assumes that someday someone will get access, and then he or she wonders what can be done in that case to minimize the damage.

One of the first things these paranoid administrators do (or should do) is hide what's valuable, private, or sensitive. For example, if you have a shared folder named, say, Confidential Documents, you're simply begging a would-be thief to access that share. Yes, you could rename the share to something less inviting, but the thief may chance upon it anyway. To prevent this, it's possible to share a resource and hide it at the same time.

Even better, hiding a shared folder is also extremely easy to do: When you set up the shared resource, add a dollar sign ($) to the end of the share name. For example, if you’re setting up the Documents folder for sharing, you could use Documents$ as the share name. This prevents the resource from appearing in the list of resources when you open a remote computer from the Network window (or type net view \\computer at the command prompt, where computer is the name of the remote PC).

Bear in mind that although hiding shares will work for the average user, a savvy snoop will probably know about the $ trick. Therefore, you should set up your hidden shares with nonobvious names.

How do you connect to a hidden share? You need to know the name of the shared resource, of course, which enables you to use any of the following techniques:

  • Select Windows Logo+R (or select Start, All Programs, Accessories, Run) to open the Run dialog box, type the network path for the hidden resource, and click OK. For example, to display the hidden share Documents$ on OfficePC, you would enter this:
    			\\officepc\documents$		
    	
  • In a command prompt session, type start, a space, the network path, and then press the Enter key. For example, to launch the hidden share Documents$ on OfficePC, you would enter this:
    			start \\officepc\documents$		
    	
  • Map the hidden share to a local drive letter. Click Start, right-click Network, and then click the Map Network Drive command. In the Map Network Drive dialog box, type the UNC path for the hidden share in the Folder text box.

    Add a comment

    Post a comment using one of these accounts
    Or join now
    At least 6 characters

    Note: Comment will appear soon after you have activated your account.
    Obscene/spam comments will be removed and accounts suspended.
    The information you submit is subject to our Privacy Policy and Terms of Service.

    ITworld LIVE

    NetworkingWhite Papers & Webcasts

    White Paper

    The 2011 iPass Mobile Enterprise Report

    This industry survey covers trends, recommendations and a policy guide on managing Enterprise Mobility for IT management and CIOs. Get data on employee device liability, as well as smartphone/tablet penetration, budget control and provisioning. Find out how your organization compares, how to ensure mobile worker productivity, and control costs.

    Webcast On Demand

    Managing Enterprise Mobility Costs

    Mobile employees, especially those traveling internationally, were spending time and resources finding and making connections. Roaming costs were out of control. The IT Administrator at The Hay Group tells you how he got more control over these costs, providing management with predictable budgets and insights while ensuring employee productivity.

    Sponsor: iPass

    White Paper

    Digital Transformation: Creating New Business Models Where Digital Meets Physical

    Individuals and businesses alike are embracing the digital revolution. Social networks and digital devices are being used to engage government, businesses and civil society, as well as friends and family.

    White Paper

    The Journey to the Private Cloud

    Both business and IT need the agility enabled by the private cloud. Now you can apply technologies and processes pioneered by public cloud services to your own data center.

    Webcast On Demand

    Navigating the Public Cloud

    InfoWorld contributing editor and consultant David Linthicum offers expert advice about choosing services to outsource to the public cloud providers, cloud data security and identity, integrating public cloud services, and how to avoid provider lock-in.

    Sponsor: Intel

    See more White Papers | Webcasts

    Ask a question

    Ask a Question