Premium Member Database last update: Tuesday, October 25, 2016 10:02:45 GMT-0700

Block IP Addresses Using Web.config With IIS 7.0

Is your website on a Windows server? Do you want to be able to block specific countries from accessing your website? We will soon be offering our Country IP Blocks in web.config format.

Country IP Blocks will be releasing new formats for premium members. These new formats will include network all and deny for IIS 7.0+. If your website is hosted on a Windows Server with IIS 7.0 and above, you will be able to use a web.config file to block or allow specific networks, countries or continents.

The web.config file works similar to an .htaccess file. See: