Accessing Shared Files

The previous pages have described setting up a Mac so people at other computers can access its files. There’s an easy, limited way (use the Public folder) and a more elaborate way (turn on sharing settings for each folder individually).

Now comes the payoff to both methods: sitting at another computer and connecting to the one you set up. There are two ways to go about it: You can use the Sidebar, or you can use the older, more flexible Connect to Server command. The following pages cover both methods.

Suppose, then, that you’re seated in front of your Mac, and you want to see the files on another Mac on the network. Proceed like this:

When you click Connect (or press Return), the other Mac’s icon shows up in your Sidebar, and its contents appear in the main window. (The other Mac’s icon may also show up on the desktop, if you’ve turned on the “Connected Servers” option in Finder→Preferences→Sidebar.)

In the meantime, you can double-click icons to open them, make copies of them, and otherwise manipulate them exactly as though they were icons on your own hard drive. Depending on what permissions you’ve been given, you can even edit or trash those files.

You can even use Spotlight to find files on that networked disk. If the Mac across the network is running Leopard or a later OS X version, in fact, you can search for words inside its files, just as though you were sitting in front of it. If not, you can still search for text in files’ names.

The Sidebar method of connecting to networked folders and disks is practically effortless. It involves nothing more than clicking your way through folders—a skill that, in theory, you already know.

But the Sidebar method has its drawbacks. For example, the Sidebar doesn’t let you type in a disk’s network address. As a result, you can’t access any shared disk on the Internet (an FTP site, for example), or indeed anywhere beyond your local subnet (your own small network).

Fortunately, there’s another way. When you choose Go→Connect to Server, you get the dialog box shown in Figure 14-11. You’re supposed to type in the address of the shared disk you want.

For example, from here you can connect to the following:

And now, some timesaving features in the Connect to Server box:

When you’re finished using a shared disk or folder, you can disconnect from it as shown in Figure 14-12.

In OS X, you really have to work if you want to know whether other people on the network are accessing your Mac. You have to choose System Preferences→Sharing→File Sharing→Options. There you’ll see something like, “Number of users connected: 1.”

Maybe that’s because there’s nothing to worry about. You certainly have nothing to fear from a security standpoint, since you control what they can see on your Mac. Nor will you experience much computer slowdown as you work, thanks to OS X’s prodigious multitasking features.

Still, if you’re feeling particularly antisocial, you can slam shut the door to your Mac. Just open System Preferences→Sharing and turn off File Sharing.

If anybody is, in fact, connected to your Mac at the time (from a Mac), you, the door-slammer, get to see the dialog box in Figure 14-13, which sends a little warning message to whomever’s connected to your Mac.

If nobody is connected right now, your Mac instantly becomes an island once again.