Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I am just setting up a Windows 2003 server and am having trouble setting up my FTP site with IIS.
I understand how to add a FTP site and all that, but haven't the slightest idea how to add a user to the FTP site. What I mean is, I want to be able to login in with a specific username/password and be locked into one specific directory (and subdirectories). An example would be to log in with the username "webadmin" and automatically be into the "wwwroot" directory of the server (to remotely administer my website, hosted on the same machine via IIS).
Any help would be appreciated.
Thanks,
Dave

Dave,
I'll make a suggestion here that deviates from IIS a bit. I was in a similar situation some time ago, and found that IIS for the FTP Server side of the package at least, didn't quite meet my needs for flexibilty. There's a freeware FTP server that's worth a look, and it's a breeze to setup users, home folders, permissions etc.. It's called "Filezilla" (see link)
http://sourceforge.net/projects/filezillaTo use it, you will need to disable the FTP side of IIS as a service, and install this one as a service. There's other ones around of course. I ended up using a commercial one called "Argosoft FTP server". It's just my opinion, but I found these two much more configurable than IIS FTP Server.
Another excellent FTP Server (although expensive) is "Serv-U-FTP"; probably the nicest one around for Win32.
Anyways, good luck.

Any local user account you create on your machine can login with ftp after IIS is installed and configured. FTP is just a service that points to a directory you specify.

Dave,
This is the best solution I've come up with I had the same issue as you did.
1. Create a new FTP site in IIS and point it at a directory other than the default FTP site, I created a folder called guest_ftproot under the Inetpub directory. This way if someone does attempt to browse around they will only see an empty directory.
2. Create an FTP login account with the same name as the FTP directory, this will dump the user by default into the correct FTP directory. If you want a different user name then you'll have to always put in the intial directory path when you login.
3. With Windows Explorer, browse to the FTP directory, my directory was under my \\Inetpub\wwwroot\ folder.
4. Right click, select Properties, select the Security tab and remove the Everybody account.
5. Add the IUSR_* account so that your web browsing is still in tact.
6. Add the FTP login account you created in step 2 and set the appropriate FTP permissions (you may also want to add your Administrator group) and click OK.
7. Add a new virtual directory to the FTP site you created in step 1 and point it to your FTP directory and that should be it.
Keep in mind as you add new FTP accounts/sites you'll need to go through the same process except you'll skip step 1. At the end of this all you should be able to still view the web site, deny access to your other FTP sites, and have only the designated FTP account access the site you set up.
Hope this helps.

![]() |
cmd.exe net.exe
|
How to make a .COM
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |