Thursday, August 2, 2007

Sharing Folders Over a Home Network



In home networking, sharing is what you do to make hard drives, folders, files, and peripheral devices available to all users of the network. You can configure your network so that the computers share hard drives (which automatically makes them share folders), or you can make it so that they don't share hard drives but can still share folders.
Even if your network does share hard drives, it's best to actually create shared folders because doing so makes it easier to get to those folders from the other computers on the network. When you open Network Neighborhood or My Network Places and double-click a computer icon, all the shares on that computer are displayed. If the only share is the hard drive, many mouse clicks will be needed to navigate through the drive to get to a specific folder.
You can create as many folder shares on your computer as you please, using the same steps you use to share a drive. Here are the basic steps (note that the options will vary, depending on the operating system you're using) in My Computer or Windows Explorer:
1. In My Computer or Windows Explorer, right-click the icon for the folder you want to share and choose Sharing from the shortcut menu that appears.
2. Select Sharing or its equivalent, depending on your operating system (for example, it might be Share This Folder).
3. Click the Shared As (or New Share or the equivalent, again depending on your operating system) button.
5. In the dialog box that opens, name the share, and optionally, enter a description in the Comment field.
Using hidden shares
You can hide a shared folder from Network Neighborhood or My Network Places. The cool thing about a hidden share is that you can get to it if you know it exists and if you know the trick for accessing it. A hidden share can be a useful location for documents you don't want other network users to see when you can't easily set security options for the computer that holds those documents.
A hidden share works only if you keep in mind the basic rules about shares:
Shares are for remote users, and they're irrelevant when somebody is using your computer. The folder you hide isn't hidden from anyone who is using your computer.
If you want to hide even one folder on a drive, you cannot share the drive, because as soon as you do, every folder in the drive can be seen. Folders are children of drives, and when you share a parent, you share all its children.
A hidden share must be a parent share, because if it's a child of a share, it's visible in Network Neighborhood and My Network Places as soon as a remote user expands the parent share.
The best way to hide a folder from everyone (users who work at the computer and users who access the computer across the network) is to make it a subfolder of a folder you're not sharing, on a drive you're not sharing.
Create a parent folder for the express purpose of creating a subfolder that you want to hide. Give the parent folder an innocuous name so that nobody who uses your computer would be curious enough to expand the folder in Windows Explorer and find your secret. For example, create a folder on your drive and name it Tools or Maintenance. Then create a subfolder and name it Logfiles or another name that seems equally boring or technical. In Logfiles, you can keep all your naughty and nice lists, and no one will suspect a thing.

Another nifty place to put a hidden subfolder is in the Windows folder (C:Windows or C:WINNT in Windows 2000). There's no reason to share the Windows folder because its contents are specific to the local computer. Other people who use the computer are unlikely to scroll through the subfolders in the Windows folders, unless they're suspicious about your ability to be sneaky.
Creating a hidden share
To hide a folder's share, follow the steps just described to create a folder share. However, when you give the share a name, make the last character of the share name a dollar sign ($). That's it, the share is hidden. Easy, huh?
Getting to your hidden share from a remote computer
When you work at a different computer and you want to get to a file that's in your hidden share, follow these steps:
1. Choose Start --> Run.
The Run dialog box opens.
2. Type \\ComputerName\ShareName in the Open text box, substituting the real names of the computer and the share.
For example, if you're trying to get to a hidden share named Logs$ on a computer named Den, type \\den\logs$. A window opens to display the contents of your hidden share.
Keeping the secret a secret
When you use the Run command, Windows saves the command. The next time you open the Run command, the last command that you typed displays. Just click OK to run the command again. Very convenient, eh? Uh, not if you share the computer with other users.
The way to prevent your command from being visible to another user is to make sure that you log off when you leave the computer you were using. This ensures that nobody else can sit at the computer using your logon name and settings. The Run commands are saved on a user-by-user basis, so when a user named Mom is logged on, only commands issued by Mom are visible in the list.

0 komentar: