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

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

1 Answer 1

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

 
discard

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.