Wednesday, July 8, 2015

How to Restrict IP to website in Asp.net ?

 
 
This is essential when we want to allow only given set of ip address or domain. This is called white list IP range allow or blacklist IP range deny
 
Remember
  1. Private IP will not work , use public IP
  2. Private IP is machine /device ip
  3. Public IP is internet IP that connects from your computer /device to help you browse website.
 
 
 
 
http://www.victor-ratajczyk.com/post/2011/12/21/Webconfig-ipSecurity-Allow-specific-IP-addresses-Deny-all-others.aspx

No comments :