Link to home
Start Free TrialLog in
Avatar of rgb192
rgb192Flag for United States of America

asked on

want password and username so a client and access ftp from their own computer

assign a username and password to one folder of a website  


ftp is installed and ftp service is started
Avatar of Brad Howe
Brad Howe
Flag of Canada image

Hi,

These steps will isolate your user to their own home Diretory will providing only that one user a virtual path to the location you chose.

1. Create a local user for this account. COMPUTER \ Mangers \ Users and Groups \ Create user.

2. Create a ftproot directory.
       eg: D:\INETPUB\FTPROOT\

3. Create the User Isolation folder root
       eg: D:\INETPUB\FTPROOT\LocalUser

4. Create the Use Home Root.
        eg: D:\INETPUB\FTPROOT\LocalUser\UserName.LastName

5. Create a folder for the virtual path.
        eg: D:\INETPUB\FTPROOT\LocalUser\UserName.LastName\FOLDER_YOU_WANT_HIM_TO_ONLY_SEE

6. Create virtual Directory from IIS GUI
      Alias: FOLDER_YOU_WANT_HIM_TO_ONLY_SEE
      Physical Path: <DRIVE>:\folder\path
      Click OK

7. Set FTP User Isolation from IIS GUI.
       (*) - User name physical directory (enable global virtual directories).
    Must be enabled or the virtual directory you created will not be listed.

8.  Set user permissions (READ,WRITE) for SERVER\UserName.LastName on <DRIVE>:\folder\path.

9. Set user permissions (READ,WRITE) for SERVER\UserName.LastName in FTP Authorization Rules from IIS GUI .

8. Login and test.

Results:
    ..
      FOLDER_YOU_WANT_HIM_TO_ONLY_SEE
 
 User Account Types                    Physical Home Directory Syntax
  Anonymous users                        %FtpRoot%\LocalUser\Public
  Local Windows user accounts        %FtpRoot%\LocalUser\%UserName%
  Windows domain accounts            %FtpRoot%\%UserDomain%\%UserName%
  IIS Manager or ASP.NET custom    %FtpRoot%\LocalUser\%UserName%

If this is not what you are thinking about then you can also just make the ftproot the folder in question.

cheers,
Hades666
Avatar of rgb192

ASKER

I don't understand how this would work using an FTP client.  Do I just enter my IP and my windows username and windows password
ASKER CERTIFIED SOLUTION
Avatar of Brad Howe
Brad Howe
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rgb192

ASKER

Thanks