New FTP user w/ restricted access

Discussion in 'Windows / IIS' started by rcorrad, Jan 13, 2009.

  1. I'm looking to create an additional FTP user other than my admin FTP, one that has limited access:

    From my root domain (directory tree)

    \<site>
    + \App_Theme
    + \bin
    + \pub

    I would like to create an ftp user that only has access to read/write to the pub folder (and cannot access any other folder, including root). I've created a new user and assigned to the pub directory thru the control panel, but cannot access via any FTP client. I'm utilizing the W2k8 pipe login format (123123|<newuser>), but when connecting it says that the home directory is inaccessible.
    Any help is much appreciated!
     
  2. Have tried both the pub as a starting and when that failed just tried the root (which I expected to fail). Even with pub as starting it replies that the home dir is inaccessible. I've tried various client apps as well: FileZilla, CoreFTP, and even the native Windows Explorer FTP functionality.
     
  3. I'm having the same problem this morning. Using FTPVoyager, the log looks like:

    STATUS:> Connecting to "ftp.whatisenoug.web703.discountasp.net" on port 21.
    220-Microsoft FTP Service
    220 DiscountASP.net FTP
    STATUS:> Connected. Logging into the server
    COMMAND:> HOST ftp.whatisenoug.web703.discountasp.net
    504 Server cannot accept argument.
    COMMAND:> USER wiesponsor
    331 Password required for wiesponsor.
    COMMAND:> PASS ************
    530 User cannot log in, home directory inaccessible.
    ERROR:> Password not accepted
    ERROR:> Unable to login
    I have given this account read access at the root, and read/write access on a subdirectory. I have set up the default directory in FTPVoyager to be /wiesponsor

    It appears to me that I need -- somehow -- to set the default user directory in IIS to the root, or some subdirectory, but I can't see any way to do that in the control panel.

    ???

    --Tad Richard
     
  4. Whats the initial directory set to in your FTP client?
     
  5. Bruce

    Bruce DiscountASP.NET Staff

    The username you are using is not correct. It needs to be in the form of [customerID]|username
     
  6. Bruce,

    Thanks!

    I've gotthe user logging in now, but I still don't see how to set a default directory for this user other than the root. If I remove read permissions from the root, the user is not allowed to log in.

    --Tad
     
  7. Bruce

    Bruce DiscountASP.NET Staff

    Yeah.. This is one of the problem w/ IIS7 FTP. You have to give read permission at a minimum for the additional user to the root.
     
  8. Is there hope??

    Is Microsoft treating this as an issue to fix or is it a feature they purposely implemented?
     

Share This Page