Using IP Restrictions with URL Rewrite-Week 25

URL Rewrite offers tremendous flexibility for customizing rules to your environment. One area of functionality that is often desired for URL Rewrite is to allow a large list of approved or denied IP addresses and subnet ranges.

IIS’s original IP Restrictions is helpful for fully blocking an IP address, but it doesn’t offer the flexibility that URL Rewrite does.

An example where URL Rewrite is helpful is where you want to allow only authorized IPs to access, but where is part of the same site as This requires conditional logic for the user’s IP.

This lesson covers this unique situation while also introducing Rewrite Maps, server variables, and pairing rules to add more flexibility.

This is week 25 of a 52 week series for the Web Pro. Past and future videos can be found here:

You can find this week’s video here.

No Comments