OS X FTP?
- Started
- Last post
- 15 Responses
- Koalition
I set up my old powerbook so it can be accesed over FTP(easy peasy).
The problem is that I can (and potential client) can roam around my whole hard-disk. I really wnated only one folder accesible for outsiders...
Anyone here have experience or knows about some ressources concerning setting up FTP in Jaguar?
- DragonLatino0
Did u try using Web Sharing?
I think using that feature people have access only to what's on your Public folder in your Home directory.
- ribit0
Create an extra User in OSX and have them sign in over Personal File Sharing using that... (Mac-'File Sharing' or PC-'Web Folders')
That way they can only read what is in their own Home directory, or in the Shared directory...and you can fine tune it all by setting UNIX permissions...
- ribit0
and you can do the same with FTP if you want... although being able to mount the directory as a disk on the desktop (or PC drive) using File Sharing over TCP/IP is usually nicer...
- Koalition0
"have them sign in over Personal File Sharing using that... (Mac-'File Sharing' or PC-'Web Folders)"
Can you explain this further?
Thanks!
- ribit0
- Just go to Preferences - Sharing - Services
- Turn on Personal File Sharing. It will tell you the IP address for other users to access your computer... an afp:// location for Mac users. (Windows users can also access using 'Web Folders'...just a diffferent URL format)
- Setup a separate user on your system... 'Guest' or something'
- Send the 'Guest' user/password details to the user... they can then mount only their 'Guest ' folder to their desktop...or something like that... I set it up for myself to access my main computer on the road...works great, but still learning the details for dealing with multiple users.
- Koalition0
Thanks! I am pretty impressed with OSX all of a sudden. Setting up my own server with PHP and all swifly.. nice one..
- auricom0
i just set up a network with my girlfriend's PC, piece of cake. plug and play. just like others mentioned, setup a new user and if they are on a PC, just click the allow windows sharing box. they'll see your computer, you give them a username and pass then they can only access what's in their folders.
you do have to play with the permissions a bit just "get info" on the folders you want them to acces and allow them to Read and Write.
- Koalition0
Hmmm.. I can't really get it to work rigth. The user seems to have access to my whole hard disk.. eek!
- auricom0
did you set up a new user for them? they should only be able to see their stuff that way.
- 19800
good resource here:
http://www.macosxhints.com/artic…
had exactly the same, once you download ProFTP - you can change the .conf file the same as the apache .conf file, basically you can force all users to a specific area (i.e a secure folder).
- 19800
then look for this in the pro FTP config file (/usr/local/etc/proftpd.conf):
# change user's root to home and other global variables
DefaultRoot /Library/Webserver/
..and change the "/library/webserver" part to whatever you want, when your users log in they will only be able to navigate this folder (and subsequent folders!)
good luck
- 19800
If oyu're not happy unpacking & compiling yourself then here's a pre-build to download:
http://www.mneptok.com/software/…
...and another good tutorial here:
http://www.projectomega.org/cont…
apologies for hte bumps, but I spent about 4 months trying to sort this out & wish somebody had helped me out...
...so hopefully some good karma may be coming my way soon!
- Koalition0
Sure hope good karma will come your way! Thanks so much for your help there..
I didnt have much luck with the macoxhints tutorial.. It seems like they update the app to .28.. Ill trye the prebuild now..
Thanks!!!
- ribit0
I think we're talking about File Sharing (mounting a disk to your desktop), FTP, and Web Sharing( web browser) all in one post here... confused yet?
- bob0
Allow clients to view your work.