iislocalhost

Is it possible to make part of a site on IIS only viewable from localhost?


We've got a webserver running IIS. We'd like to run maybe a shared blog or something to keep track of information. Because of security issues, we'd like for that part to be only viewable from localhost so people have to remote in to use it.

So, to repeat my question, can part of a website be made viewable from localhost only?


Solution

  • In IIS6 you can bring up the properties for the web and click on the directory security tab. Click the button in the middle of the tab for editing the IP and Domain restrictions. On this tab set all computers as denied, then add an exception for the IPs you want to allow access to this site.

    I am not sure how to configure this on IIS7. I looked but couldn't find it, if I find it I will edit this answer.

    Edit: Configuring IIS7