Discussion Locked

ftproot versus wwwroot

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am currently reading IIS4 but it is not clear to me the distinction between the wwwroot and the ftproot. Do these two locations contain different files? If so why?

I thought FTP allowed files to be loaded on the server so they could be available via http/www. So you would ftp your web site files to the wwwroot folder, what would you put in the ftproot folder?

It's just something I am missing I'm sure it's all very simple.

3 replies

by johnd

In most organisations you would want the FTP and WWW component separate. You don't want people changing your website via FTP etc. WWW is usually always Read Only, while the FTP could be read write, but you would usually put them in separate directories so the uploads would be quarantined until you had checked for viruses. You don't want someone to upload a trojan horse via FTP, then have execute on it.

The FTP root is default location of FTP files reside. This has seperate security and services, and can be turned off if not used. You can also put it on a separate server.

The www root is the location on the web. Again this has it's own security and service.

The reason they are separate is for security. Most web are anonymous, you probably wouldn't want anonymous FTP.

This discussion is closed to new replies.