Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Two friends and I are sitting at a coffee shop. I would like them to browse the family pictures that I keep in ~/Family-Pictures. We don't have any cables or cords and for unimportant reasons, both friends need simultaneous access that one folder without my giving them my password. I also dont want anyone else in the shop getting at my mac or its contents.

How can I set up my mac to share with two other computers?

share|improve this question
    
You have several questions here. It would work better if each question were its own post. But let me try to take this on. –  Daniel Lawson Oct 11 '11 at 1:00
    
As it is this question is already half the question I wanted to ask. If I knew precisely the question to ask, I'd be a long way to figuring out the answer. –  Calaf Oct 11 '11 at 1:41
    
Amen to that. Isn't that often how it works? Can you talk in chat about this? –  Daniel Lawson Oct 11 '11 at 1:45
    
Welcome to Ask Different! As mentioned, there are quite a few questions here. Since that isn't really fit this Q&A format, you've got a few options. First, you can make this question more general: "How can I share photos with friends on the same WiFi network?". Or, you could ask the specific questions you have here as separate questions: "Can I share files in an arbitrary folder over WiFi", "What is the effect of "other" permissions", "Can I share files over WiFi client-to-client without a server?". Either of these options is okay, but I have to close this multi-question. Thanks. –  Nathan Greenstein Oct 11 '11 at 3:42
    
Thanks for your edit; I've reopened the question. –  Nathan Greenstein Oct 12 '11 at 3:03

2 Answers 2

You can share a folder by selecting it in the Finder, press CommandI (Or select Get Info), and check the box that says "Shared Folder". You will need to enable file sharing in System Preferences if you have not already done that.

Your second and third questions have a single solution that could solve both problems. Unless the users have accounts on your machine, you are correct that you would be making the files available to anyone on the network. However, you could create a peer-to-peer network that only your friends have the password to join. Go to the WiFi menu and select "Create Network." Assign your network a name and password, and give that information to your friends.

Be sure to disable sharing when you are done, or else members of other, more public networks will be able to read your files.

share|improve this answer
    
You can share a folder by selecting it in the Finder, press <kbd>Command</kbd><kbd>I</kbd> (Or select Get Info), and check the box that says "Shared Folder". You will need to enable file sharing in System Preferences if you have not already done that. –  Daniel Lawson Oct 11 '11 at 1:03
    
I'm not clear on what is happening when one clicks the "Shared Folder" box. Afterwards doing 'ls' still shows the directory as "drwx------". How does this sharing happen filesystem-wise? I also imagined that there would be a soft link (ln -s) from ~/Public, but that is not the case. –  Calaf Oct 11 '11 at 1:37
    
"... to anyone on the network" What network? If I'm connected to the wifi at Starbucks, does "the network" include everyone who is also connected? –  Calaf Oct 11 '11 at 1:38
    
Yes indeed. You either need to create a private network (the solution I outlined) or create an account on your machine to which your friends have the password. –  Daniel Lawson Oct 11 '11 at 1:42
    
Public isn't shared via filesystem permissions. It is shared via a server process running on your machine. To see what changed, check "share" for a folder, then go to System Preferences » Sharing » File Sharing and see that a separate share folder in addition to ~/Public now exists. –  Daniel Lawson Oct 11 '11 at 1:44

Based on your requirements that no one else be able to access the share, and that you don't want to hand out passwords, I'm going to suggest you go outside the OS and use third party software for this.

Specifically: Dropbox.

It happens to cover this use case in a nice way that gives you the security you want and the convenience you're after. It's also OS-independent which is nice if you're friends don't also have Macs.

  1. Download and install Dropbox on your Mac. Create your account and get it up and running.
  2. Under your new ~/Dropbox folder create a new folder. Call it something like Shared with Bob so you know anything you put in it will be shared with Bob.
  3. Log in to the Dropbox web console at http://www.dropbox.com
  4. Find the folder in the web console. Click once on it to bring up the folder options menu and select 'Invite to Folder' from the list of options.
  5. Put in Bob's email address.

Once Bob joins Dropbox and the folder as a collaborator, anything either of you put in this folder will be sync'ed to the other person's Dropbox account and any computers they have linked to that account.

Once you're done sharing, reverse the process:

  1. Find the folder in the Dropbox web console.
  2. Click on it to bring up the options menu.
  3. Select 'Shared Folder Options'
  4. Click the 'Members' tab, find Bob in the list and say 'Kick Out'

You'll be given the option to let him keep the files on his disk or have the wiped. Up to you what you do.

With the slight inconvenience that the data you want to share has to live in your ~/Dropbox folder, this covers all your requests: it's secure (only you and whomever you invite to the folder can see the share), it doesn't require any passwords to be handed out, you don't have to enable any services on your Mac that might give other people on that public WiFi access to your machine.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.