Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I know about the IP4 Address and Domain Restrictions feature in IIS7, however this is a Server level setting - there is no way to specify rules for individual sites.

Is there a way to restrict access by client IP for one Website on a server, but not the others?

Thank you

share|improve this question
up vote 1 down vote accepted

IP Address and Domain Restrictions is available at the site level too. That's a good option for simple IP restrictions.

Another option is to use URL Rewrite. That gives you lots of flexibility, both in what addresses are allowed or denied but also what you do with them when they arrive.

Either solution works.

share|improve this answer
I had somehow missed the fact that you could set it for each site. – UpTheCreek Feb 9 '11 at 7:57

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.