Groups | Blog | Home
all groups > iis ftp > september 2004 >

iis ftp : Re: restrict users to own FTP dir but "allow" access to own wwwroot dir ?


scott
9/3/2004 12:39:40 PM
Hi,

Using IIS6 I setup FTP users so they are restricted to there own FTP root
(defined in user profile + using the FTP server configuration wizard) so
they cant access other peoples DIR by going back through the directory
structure.

I need to setup each user root within there own ftproot DIR but need to make
sure they can access there own wwwroot DIR to transfer files

1. When entering a wwwroot DIR as a HOME ftp dir in each user profile i get
the message that the FTP USER cant login as it cant access the HOME dir. Is
it possible to set a wwwroot dir as a ftp dir in this way ?

2. When adding a shortcut TO the wwwroot home dir FROM the ftproot home dir
the shortcut is not displayed. Is it possible to get it working in this way
?

3. How do ISP manage to restrict FTP users to there FTP HOME dir but enable
access to there wwwroot DIR ?

Thanks for any information.
Scott

Re: restrict users to own FTP dir but allow access to own wwwroot dir ?

scott
9/3/2004 2:15:36 PM
at the moment i just have a batch file copying the contents of each users
ftproot to the users wwwroot ..... not ideal.

deko
9/5/2004 1:12:05 AM
Let me know how it works out - I'm trying to set up a similar config on a
test server.

deko
9/5/2004 6:53:49 AM
[quoted text, click to view]

Good question - I was asking the same thing. As far as I can tell, this is
accomplished by using the user's directory in ftproot as the web site home
directory. So you have a user named boyjojo, a directory in ftproot named
boyjojo, a ftp site named boyjojo, and a web site named boyjojo. the
directory in ftproot is the home directory for both the www site and the ftp
site. I had some difficulty trying to set this up in user isolation mode,
but this is a sandbox so Ijust created the ftp sites allowing anon access

scott
9/6/2004 9:18:13 AM
Hi,

Thanks for the reply. A Mr Jeff Cochran also suggested the ftp root as the
web root. Will have a look at this today.

Thanks
Scott.

scott
9/6/2004 4:59:46 PM
Hi,

Thanks for the response.

I created a new Virtual Dir and directed the root path to
c:\inetpub\ftproot\aspsql\ . I tested the site and it works ok.

I created a new user specifically for the task of FTP'ing to this dir and
added the path c:\inetpub\ftproot\aspsql\ to the users profile as its HOME
dir.

When logging is as this user im getting the message "home direcroty is
inaccessible" ?

Can you suggested anything I may have missed ?

Thanks again for your time.
Scott

AddThis Social Bookmark Button