Posted on: 9/25/2015 8:22:41 AM | Views : 872

Hello all,
I have inherited a web site that previously resided on an Apache server, which I changed to a ASP.Net site.
Site access is restricted on the basis of IP address. This was previously controlled using an .htaccess file which blocked all attempts at entry, only allowing access to specific IP ranges. I am trying to recreate this scenario by adding an <ipSecurity> section to the web.config file in the site's root folder.
However, I have run into an issue in that wildcards in IPs are accepted in an .htaccess file but not in IIS.
How couldI reproduce the IPs 196.*.*.* , 142.109.*.* and 174.220.107.* in the <ipSecurity> portion of my web.config file.
I already asked this on the IIS site forum but got no closer to a solution.
Any help appreciated.
...

Go to the complete details ...