Previous Next

Thread: FTP and User Isolation w/ Virtual Directories

Last post 06-11-2008 11:42 AM by Fahrenheit. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 06-06-2008, 3:55 PM

    FTP and User Isolation w/ Virtual Directories

    FTP and User Isolation w/ Virtual Directories : Unable to browse to Virtual Directory

    I want to locked or isolate users to their home directory/s but would like to give them access to specific virtual directory/s. 

    Once the user logon, it will default to their home directory. The user will not be able to do an ls or dir from their home directory, leaving the virtual directories hidden. However, they should be able to cd to the hidden directories if given.

    Below are my Configurations:

    1.   Created FTP Site (i.e. MasterFTP)

    Mapped folder to c:\BLANK2\

    Created User directory for FTPBob

    C:\BLANK2\LocalUser\FTPBob

    a. Basic Authentication (enabled)
    b. FTP Authorization Rules (Allow, All Users, Read)
    c. FTP Directory Browsing (MS-DOS, Virtual Direct, Avail Bytes)
    d. FTP User Isolation (User name directory, disable global virtual)

    2.   I added a Virtual Directory named "Download" under MasterFTP site
       
      Mapped "Download" folder to  C:\Root

      a. Download (Virtual Directory)
     
       *Setup 2 rules

       a. FTP Authorization  (Allow, All Users, Read)
       b. FTP Authorization  (Allow, FTPBob, Read, Write)
      
    I'm able to logon successfully, however I am unable to "CD" or Change Directory to my Virtual Directory called "Download"

    Looks like the user is locked under C:\BLANK2\LocalUser\FTPBob but when I try to CD to the virtual directory it is looking in C:\BLANK2\LocalUser\FTPBob\Download instead of \Download

    What I am expecting to happen is for the user to logon to their home directory, then CD to the virtual directory that I gave them access to. In this case, it would be \Download.

    I should also be able to send them the direct link to access.(i.e.) ftp:\\user:pass@MasterFTP\Download

    Perhaps I'm going at this the wrong way?

    Any help will be appreciated.

  • 06-08-2008, 11:14 PM In reply to

    Re: FTP and User Isolation w/ Virtual Directories

    d. FTP User Isolation (User name directory, disable global virtual)

    - try enable global virtual since you created at ftp root.

    Cheers,
    Bernard Cheah
  • 06-09-2008, 10:50 AM In reply to

    Re: FTP and User Isolation w/ Virtual Directories

    Thanks for the suggestion!

     *Enabling global virtual did the trick.

     I'll go ahead and do some more testing on it. 

  • 06-11-2008, 11:42 AM In reply to

    Re: FTP and User Isolation w/ Virtual Directories

     One more thing to note. I notice a difference in behavior of FTP when FTP is being created as an FTP site (standalone) compared to FTP site running or shall i say "integrated" with WWW.

    Obvious differences would be the directory listing.

     Both site, standalone and integrated were configure the same as detailed from the above steps. Only differences are the mapped folders.

     For the standalone site, once a user logs in, issuing an "ls" or "dir" will results in a null page, leaving the virtual directories hidden.

    Typing the same command on an "integrated" site will display the virtual directories that were suppose to be hidden.

    I'm sure there are some more quirks between a standalone FTP site and one that is integrated with WWW.

    However, is this a known issue or a feature?



     

Page 1 of 1 (4 items)
Page view counter