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

This is Interesting: Free IT Magazines  
Home > Archive > IIS FTP Server > September 2004 > restrict users to own FTP dir but all access to a wwwroot dir ?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

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

2004-09-03, 7:49 am

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 ?


scott

2004-09-03, 7:49 am

subject was supposed to read:

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


Jeff Cochran

2004-09-03, 5:51 pm

>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 ?


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)

>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
>?


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.

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


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

Jeff
scott

2004-09-06, 5:50 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


Bernard

2004-09-06, 5:50 pm

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/



"scott" <nospamscott@yahoo.com> wrote in message
news:efDy#lClEHA.3896@TK2MSFTNGP15.phx.gbl...
> 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
>
>



Jeff Cochran

2004-09-06, 5:50 pm

On Mon, 6 Sep 2004 16:59:31 +0100, "scott" <nospamscott@yahoo.com>
wrote:

>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 ?


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/defaul...kb;en-us;323384

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

INFO: FTP Site Administration Documentation in IIS 6.0:
http://support.microsoft.com/defaul...kb;en-us;814865

Jeff
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com