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

is it possible to allow directory browsing in IIS7 only for a specific IP range? (e.g. for internal users 10.1.10/24)

As far I only see options to enable or disable it entirely.

Regards, Fionn

share|improve this question

It is possible. First you need to install the

Control Panel > Programs and Features > Turn Windows Features on and off > Roles > Add Roles Services:

Under Security select 'IP and Domain Restrictions' and install.

Alternatively you can install it using this command line command:

ServerManagerCmd -install Web-IP-Security

You will then see an additional icon in IIS manager with which you can add IP/domain restrictions.

share|improve this answer

I'm not sure, but you could create a second web site that points to the same content, enable directory browsing, and restrict access to the web site to the ip range in question. You would then use a different URL for the two web sites.

share|improve this answer
Since i need the same URL this wouldn't be very useful. – Fionn Feb 6 '10 at 14:13

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.