PDA

View Full Version : Indivdual password-protected FTP folders


teams
3-7-05, 10:39 AM
I'd like to set up individual FTP boxes that my clients can access, so each one needs it's own password protection. It sounds simple, but how do I assign different passwords to folders?

Skunkboy
3-7-05, 10:46 AM
To create additional FTP users, log in to OPS (http://ops.powweb.com), and select Hosting Packages | Web Site | FTP. From here, select the "Users" link (clicking the Users tab will bring up a different screen than what it is requesting).
On the Users screen, select FTP. For the name, this is for your personal use - this will show in OPS. Username is unique to the whole server. You may want to use an abreviation of your site and then the username ie: If Adam was at powweb.com, perhaps a username of "pwadam" Input a password and select create user. You should have access to the new accounts in 20 minutes.

To prevent users from seeing and modifying others' folders and files, send them to a specific subdirectory.... /htdocs/user1/ then the url will be http://yoursite.com/user1/

BerksWebGuy
3-7-05, 10:54 AM
To password protect a folder, use .htaccess . See the tutorial at B&T's page HERE (http://tips.prettyworthless.com). You would need a .htaccess file in each user folder...so each user could use their own login.

Just a little warning. Giving users FTP access to your site can be dangerous. They can still write scripts the access other parts of your webspace, and they could delete or modify them. Locking them down in FTP, does not lock them down totally.

For alittle more secure access, use an upload script, also found at the link above.

alphadesk
3-7-05, 11:01 AM
And one last very important thing ... "you are responsible" for all files on your webspace ... no matter who or how files are uploaded.

So be very carefull giving out access ... ;)

B&T
3-7-05, 11:50 AM
Before you give out FTP access, read the last point in this Tip:
http://tips.prettyworthless.com/?tip=secure#tip