Previous Next

Thread: FTP 7 - User Isolation Help

Last post 09-22-2008 2:11 PM by QL_WSF. 4 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (5 items)

Sort Posts:

  • 09-19-2008, 1:17 PM

    • QL_WSF
    • Not Ranked
    • Joined on 09-19-2008, 11:49 AM
    • Posts 3

    FTP 7 - User Isolation Help

    I have recently setup a new FTP server using FTP 7. Most basic functionality is working correctly. However, when I setup virtual directories using UNC paths to network locations the accounts associated with those virtual directories still get dumped into the ftproot. When I create folders with those account names in the ftproot, those accounts do get isolated to those folders correctly.

    Did I miss a configuration somewhere?

    Thanks for your help,

    QL_WSF

  • 09-19-2008, 6:34 PM In reply to

    • robmcm
    • Top 50 Contributor
    • Joined on 05-27-2006, 1:05 AM
    • Redmond, WA
    • Posts 85

    Re: FTP 7 - User Isolation Help

    There are two different directory-structure-based options for user isolation:

    1. User name directory (disable global virtual directories)
    2. User name physical directory (enable global virtual directories)

    The first option will allow you to use a hierarchy of virtual directories to isolate users, while the second option require physical directories.

    Robert McMurray
  • 09-22-2008, 10:37 AM In reply to

    • QL_WSF
    • Not Ranked
    • Joined on 09-19-2008, 11:49 AM
    • Posts 3

    Re: FTP 7 - User Isolation Help

    I have set the isolation to the first option, User name directory (disable global virtual directories), but the users do not get isolated or even connected to those virtual directories.

  • 09-22-2008, 1:22 PM In reply to

    • robmcm
    • Top 50 Contributor
    • Joined on 05-27-2006, 1:05 AM
    • Redmond, WA
    • Posts 85

    Re: FTP 7 - User Isolation Help

    How are you creating the paths? Are you creating paths like:

    c:\ftproot\domainname\username

    Quoting from the FTP help file, to create home directories for each user, you first must create a physical or virtual directory under your FTP server's root folder that is named after your domain or named LocalUser for local user accounts. Next, you must create a physical or virtual directory for each user account that will access your FTP site. The following table lists the home directory syntax for the authentication providers that are included with the FTP service:

    User Account Types Home Directory Syntax
    Anonymous users %FtpRoot%\LocalUser\Public
    Local Windows user accounts
    (requires Basic authentication)
    %FtpRoot%\LocalUser\%UserName%
    Windows domain accounts
    (requires Basic authentication)
    %FtpRoot%\%UserDomain%\%UserName%
    IIS Manager or ASP.NET custom
    authentication user accounts
    %FtpRoot%\LocalUser\%UserName%

    Note: %FtpRoot% is the root directory for your FTP site: for example, C:\Inetpub\Ftproot.

    Robert McMurray
  • 09-22-2008, 2:11 PM In reply to

    • QL_WSF
    • Not Ranked
    • Joined on 09-19-2008, 11:49 AM
    • Posts 3

    Re: FTP 7 - User Isolation Help

    I had misunderstood the hierarchy of the virtual folder structure to get this to work correctly. Robmcm, that pointed me in the right direction.

    To fix this I had to create a virtual directory with the domain name, which I just pointed to a folder in ftproot of the same name. Then I had to create virtual directories in that domain virtual directory pointing to the network paths I needed.

    Thanks for the help!

     

Page 1 of 1 (5 items)
Page view counter