all groups > iis ftp > september 2004 >
You're in the

iis ftp

group:

restrict users to own FTP dir but all access to a wwwroot dir ?


restrict users to own FTP dir but all access to a wwwroot dir ? scott
9/3/2004 12:20:44 PM
iis ftp:
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

restrict users to own FTP dir but all access to a wwwroot dir ?

Re: restrict users to own FTP dir but all access to a wwwroot dir ? scott
9/3/2004 12:39:06 PM
subject was supposed to read:

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

Re: restrict users to own FTP dir but all access to a wwwroot dir ? jeff.nospam NO[at]SPAM zina.com
9/3/2004 8:43:08 PM
[quoted text, click to view]

Yes. But you have to do this backward. Make the web site's root the
user's FTP home (since the FTP home is very specific in Server 2003)

[quoted text, click to view]

Shortcut? You can add a virtual direactory if that's what you mean.
It may not show but it can be changed to. To get it to show you need
a physical folder the same name as the virtual folder.

[quoted text, click to view]

Just like that. Or more often they use a different FTP server, such
as WFTPD.

Re: restrict users to own FTP dir but all access to a wwwroot dir ? scott
9/6/2004 4:59:31 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

Re: restrict users to own FTP dir but all access to a wwwroot dir ? jeff.nospam NO[at]SPAM zina.com
9/6/2004 5:28:41 PM
On Mon, 6 Sep 2004 16:59:31 +0100, "scott" <nospamscott@yahoo.com>
[quoted text, click to view]

Assuming IIS6/Server 2003, you can't do this. There's a very specific
directory structure required. See:

HOW TO: Set Up an FTP Server in Windows Server 2003
http://support.microsoft.com/default.aspx?scid=kb;en-us;323384

How To Limit Access to a FTP Site in Windows Server 2003:
http://support.microsoft.com/default.aspx?scid=kb;en-us;816525

INFO: FTP Site Administration Documentation in IIS 6.0:
http://support.microsoft.com/default.aspx?scid=kb;en-us;814865

Re: restrict users to own FTP dir but all access to a wwwroot dir ? Bernard
9/7/2004 12:04:48 AM
Try -
Err Msg: 530 User <Username> Cannot Log In, Home Directory Inaccessible.
Login Failed.
http://support.microsoft.com/?id=221934

check the user permissions, if stuck again try filemon (sysinternals.com) to
trace the error.

--
Regards,
Bernard Cheah
http://www.tryiis.com/
http://support.microsoft.com/
http://www.msmvps.com/bernard/



[quoted text, click to view]

AddThis Social Bookmark Button