In my web application , I need to give access only to the users who are accessing my application from India. I need to block the users from accessing my application when they try to access outside India.(i.e., I willnot allow them to login and will show an error pop-up) Can anyone please tell if this is possible?
Share
Add a
Filterwhich checks for requests andUse hostip service api to check for location
For example
This will give you country code
INIf you don’t get
INthen from Filterotherwise allow request
See