[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 285
  • Last Modified:

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
0
rgb192
Asked:
rgb192
  • 2
  • 2
1 Solution
 
Brad HoweCommented:
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
0
 
rgb192Author Commented:
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
0
 
Brad HoweCommented:
yep. The External Server IP, the local account you created and the password you entered.

If the is behind a firewall however, you will need to open port 21 or the FTP port you are listening on.

Cheers,
Hades666
0
 
rgb192Author Commented:
Thanks
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now