Reputation: 11350
I have an ASP.Net website.
The website is purely for customers in the UK, although some of our suppliers may originate in the USA/Canada.
We get a lot of visitors from Africa, China, Russia etc, who quite frankly, we know are up to no good.
I thought of the possibility of detecting the originating country and redirecting to a 'safe page' for blacklisted countries.
I wondered whether this is actually achievable (do to data being available) and if so what mechanism (from a code perspective) would I use in Asp.Net.
Upvotes: 0
Views: 182
Reputation: 425
You can use IPInfoDB
API to achieve this. For more information and full tutorial visit
Upvotes: 1