Configure IIS 6 to deny access to specific file based upon IP address

Posted by victorferreira on Super User See other posts from Super User or by victorferreira
Published on 2010-05-21T15:00:00Z Indexed on 2010/05/21 15:02 UTC
Read the original article Hit count: 258

Filed under:

Hello guys,

We are using IIS 6 as our webserver. And we need to deny the access for one specif file, placed in only one specific URL, to everybody OUTSIDE the local network.

In other words, if somebody is trying to access that filme/page from their own computer at home, using the internet, they must not succeed. But, if the same person try to do that at the same network of the web server, its ok.

I am not sure about that, but Apache uses ORDER DENY,ALLOW. You specify the URL, allow or deny to all or to a range of IP.

Any suggestions? Thanks!

© Super User or respective owner

Related posts about iis-6