Hi, I'm trying to restrict access to screens within a mobile app when a user is not connecting from a prescribed IP address or range. In essence, if the user isn't in the building and connected to WiFi, they can't access the screen.
So far, I've not been able to find a plugin that is compatible with our environment and wondering if someone else has managed to obtain the client IP address from a mobile user.
Haver you tried the HttpRequestHandler module? I've tried using both on wi-fi and 4G networks and it seems to work fine for me.
Hi Jay, thanks for your reply. Given it was a Server Action, I was concerned it was going to show the server IP. I've now tested it and it's reporting the correct device IP.
Glad to hear that! Let us know if you have any other questions.