Re: I am confused about how to FTP into a website by _
_
Fri Feb 23 11:54:15 CST 2007
<glyphman@gmail.com> wrote in message
news:1172249533.481783.59880@t69g2000cwt.googlegroups.com...
>I am very new to IIS (using v6) but setting up websites using the host
> header technique. But what I cannot figure out is how to FTP into a
> given web site in order to upload files for display. (I figure it must
> be easy because no one even seems to ask the question.)
Well, it's not easy if you start with an incorrect assumption. The key part
you are missing is host headers is specific to HTTP 1.1 protocol. As such,
there is no way to do anything similar with FTP.
So to divide users up with FTP and one IP, you have to do something entirely
different. (See bottom)
>
> One thing I figure makes my situation unique is that the Windows
> server is not being used for anything but serving a few web sites -
> there are no "users" that are networked from the box. This server is
> freestanding in a small network of Unix servers.
The above shouldn't affect your setup as long as you can add users.
Also, no web
> developers will be using MS products like FrontPage or ExpressionWeb -
> some will be using Dreamweaver some just plain FTP clients.
>
> So I guess my confusion is, how does one log into their web site for
> purpose of managing content?
>
> Thanks
>
From the IIS FTP group that sumarizes how to do compartamentalization for
FTP in IIS that sorta the same as the HOST headers method;
Here are the steps sumarized from start to
finish, you'll have to pick out the parts you need to do.
Set up IIS
Make FTP root folder
Make _Second_ FTP root folder
Make user folders in _Second_ ftp root folder
Make users
Add user permissions to user folders
Make FTP site
Use _first_ root folder as the root of that.
Make user folders, make those go to /second/user/ folder.
Match up the username with the virtual root folder name (THIS IS IMPORTANT)
Repeat as necessary.
IIS will automatically detect the folder, virtual folder, username matchup
and dump the user into their own folder.
End result. Users using "CD" to get out of their folder end up in the
"first" root folder which has no write permissions for them, and no other
folders or data to view. Only if they a) know the virtual folder name of
other users and b) have permissions to view or edit it can they get in
there. Otherwise it looks like they are on their own FTP instance all
alone.
Depending on if the folders have HTTP access or not, you could remove
permissions so users can't view or edit even if they should manage to figure
out how. (Most won't.)
As admin, you would be able to log in and change folders around as needed.
(Assuming you knew the folder names)