PDA

View Full Version : Protecting directories for FTP access



smither
07-01-2003, 09:56 PM
Is there a way to protect directories and specify individual logins (user name and password) for each directory? For example, I would like to have something like the following:

/home/domainname - normal sftp login for user domainname
(note: user domainname is in westhost /etc/passwd file)

/home/domainname - allow user1 to login here as well.
(note: user1 not in the westhost /etc/passwd file)

/home/domainname/www/directory1 - allow user2 to login here.
(note: user2 not in the westhost /etc/passwd file)

etc.

I assume that anyone allowed login at a certain level has access to subdirectories of their own login directory - is this correct? In other words, user1 would have access to the directory indicated for user2 above.

Thanks!

Anonymous
07-02-2003, 09:48 AM
From your description, it sounds like you would like to add "Additional User Accounts" to your account. It is a $15 setup fee for each one. You can sign up for them here: https://corp.westhost.com/addons/ It the last entry of the blue section. The checkbox is for limiting access to specific directories (and their subdirectories).

Yes, what you've proposed will work.

kitkat
09-03-2003, 06:50 PM
From your description, it sounds like you would like to add "Additional User Accounts" to your account. It is a $15 setup fee for each one. You can sign up for them here: https://corp.westhost.com/addons/ It the last entry of the blue section. The checkbox is for limiting access to specific directories (and their subdirectories).

Yes, what you've proposed will work.

I'm experiencing kind of the opposite situation at one of my domains, which is on WestHost 2.0 now (and thanks to everyone at WH for your patience and help this past weekend).

I have a group of users for whom I have paid the $15 "additional user" fee. We all share files in /www/ - and I'm not sure how or where to restore that capability.

I don't want them to be limited to username/directory - is it possible to re-enable full /www/ permissions for my users on my end, or is this something I need to ask Technical Support to restore?

Thanks very much.

/kitkat

FZ
09-03-2003, 07:13 PM
You can add additional E-Mail/FTP accounts using the Site Manager (please refer to the online manual). I know it pops up with /ftp/pub/username as the home directory for the user, but you can actually set it to your www directory (which, I believe, is now /www/htdocs/), allowing that particular user access to your www files.

kitkat
09-03-2003, 10:27 PM
Thank you very much! This was very helpful. I appreciate it.

/kitkat

kitkat
09-04-2003, 12:55 AM
Just as a follow-up:

I was able to set one individual user's FTP access to /www/htdocs/ - after this, I had error messages that /www/htdocs/ was already in use.

If anyone has an idea on the easiest way to give a group of trusted users access to /www/ instead of user-named directories only, I would greatly appreciate it.

Thank you.

/kitkat

FZ
09-04-2003, 05:28 AM
kitkat,

Glad I could help. In response to your new problem, it might be a bug with 2.0 (I don't have access to a 2.0 account yet so I cannot test it myself). However, did you enable the "Use existing directory" in the creation of each user? Have a look at http://manual.westhost.com/part4.html#users if you can and try that before you report this to WestHost.

Let me know how it goes :)

kitkat
09-04-2003, 03:32 PM
kitkat,

Glad I could help. In response to your new problem, it might be a bug with 2.0 (I don't have access to a 2.0 account yet so I cannot test it myself). However, did you enable the "Use existing directory" in the creation of each user? Have a look at http://manual.westhost.com/part4.html#users if you can and try that before you report this to WestHost.

Let me know how it goes :)

Thanks for your reply. Yes, I did enable existing directories, and have read the section of the manual as above. We are still limited to individual directories at this time.

FZ
10-02-2003, 04:06 PM
kitkat, check this out: http://forums.westhost.com/phpBB2/viewtopic.php?t=1137