How to implement Geo Block
ASP.NET
2
Posts
2
Posters
0
Views
1
Watching
-
How I can block my site to some of the countries using asp.net? Need Assistance plz.
-
How I can block my site to some of the countries using asp.net? Need Assistance plz.
You can use
HTTPModule
to handle the request. Check the IP Address in it and if it's in the 'allowed' range. Here, have a look at these: How to Block Country and IP Addresses in ASP.NET using HTTPModule?[^] How To Block IP Addresses from your website using ASP.NET[^]Sandeep Mewara Microsoft ASP.NET MVP 2012 [My Latest Article(s)]: How to extend a WPF Textbox to Custom Picker Server side Delimiters in ASP.NET