I want end users to access my outsystems application only in a specific country.
Is there a way to achieve this ?
Hi,
According to my understanding, the preferred method for allowing users from a specific country is to configure the Firewall Configuration. Utilize a firewall or network security device to implement IP-based access control. You can create rules to either allow traffic from specific IP ranges (countries) or block traffic from certain IP ranges (countries).
Aside from that, you can write your own code in the module's event to retrieve the user's country and decide whether to allow or block it. How to get the user's location
Thanks,
Narendra
Hi Michallem
In addition to the solution I provided in the past in the link you shared (how to get the user's location), you can see if if you can configure geo-filtering. If you run OutSystems on premise, you can just try and implement this. If your infra is hosted by OutSystems in the cloud you could create a support case and ask if this is part of their service offer to configure for you.
https://www.undocumented-features.com/2018/02/08/implementing-geo-filtering-with-iis/
Regards,
Daniel