I have a Web Site in IIS 6.0 that hosts several virtual directories. Some of the virtual directories in the Web Site need to be served out to the internet, so there is a public DNS entry for the Web Site as a whole. Other virutal directories should not be served to the internet, but they get exposed by default through the public DNS host.
Is it possible to “lock down” certain virtual directories and not others within a single Web Site? Or would you need to create a different Web Site to separate the virtual directories?
if you are using any kind of Url Rewriting filter, you could use it to hide the directories you want.
Alternatively you can change the permissions on those directories to disallow access ..
You could also restrict access to those directories from IPs other than your internal network addresses..