restrict users to own FTP dir but all access to a wwwroot dir ?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS FTP Server > restrict users to own FTP dir but all access to a wwwroot dir ?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-03-04 12:49 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

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







[ Post a follow-up to this message ]



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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-03-04 12:49 PM

subject was supposed to read:

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







[ Post a follow-up to this message ]



    Re: restrict users to own FTP dir but all access to a wwwroot dir ?  
Jeff Cochran


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-03-04 10: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





[ Post a follow-up to this message ]



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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-06-04 10: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







[ Post a follow-up to this message ]



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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-06-04 10: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
>
>







[ Post a follow-up to this message ]



    Re: restrict users to own FTP dir but all access to a wwwroot dir ?  
Jeff Cochran


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-06-04 10: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





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:54 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register