Discussion Locked

Users and FTP

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi
I have a FTP site.I like my users can connect to my FTP site and every body see her or his directory only or full access only to that directory.how i can do this work ?

Thanks

5 replies

by raffi_

Hello. Try this
In the Internet Service Manager, specify Ftproot as the Home Directory (the path is \inetpub\ftproot by default.
In Windows Explorer, create a folder for each user with the same name as the user. If you create it outside of the Ftproot folder, users will not be able to browse outside of their own folders.
If you are using NTFS, set appropriate permissions on the folder.
In the Internet Service Manager, create a new virtual directory and give it the same name as the user'slogin name.
Point this virtual directory to the user's folder in Windows Explorer.

This works in Win2K as well.

by ebob

Briefly: you should be able to do this simply enough by setting the properties of each directory. For example, Fred's directory should be owned by the admin (as they all should). The only other access is read/write for Fred. In Unix, you can make a group for Fred, then assign this directory to Fred, and give it permissions like "rw-rw----" ("660"). Don't forget to set Fred up as a member (well, the ONLY member) of the group Fred.

Try this out, along with some other combinations.

You can also cause the users to drop in directly to their own "home directory" (e.g., "Fred") from the /etc/profile and /etc/rc files. Do a man on these to get more details.

This discussion is closed to new replies.