Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a couple of sites that I want to only allow access to specific IPs. I have added these IP addresses to IIS7 via the IPv4 Address and Domain Restrictions functionality, as per the link below:


I have also seen mention of using the management service (http://technet.microsoft.com/en-us/library/cc730889%28WS.10%29.aspx), although this (to me) appears to set the restrictions at too high a level?

Anyway, I have added 4 IP addresses as 'Allow' but I can still connect to the site from a different IP address.

Can anyone clarify how I can ensure that only the listed Allow addresses can actually get through? I'm new to this so please forgive me if I sound like a dumbass!



share|improve this question

1 Answer 1

You're on the right track. Also check the "Edit Feature Settings" in IIS Manager. Change "Access for unspecified clients" from Allow to Deny.

share|improve this answer
Thanks Scott - I'll give that a go! –  user62975 Dec 9 '10 at 9:16
Nice one Scott - seems to be working. Thanks for pointing me in the right direction! –  user62975 Dec 10 '10 at 13:51
Great, thanks for confirming Tam. –  Scott Forsyth - MVP Dec 10 '10 at 16:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.