Forum Discussion
Restrict access to specific mobile devices (via IMEI number?)
Hi I have a case for a client where they would like (during testing phases) to restrict access to a HTTPS Virtual Server to specific mobile devices, by the IMEI number or another unique identifier if this is possible?
I've done a few searches on here and Google, found a post (https://devcentral.f5.com/questions/irule-how-to-grab-the-line-base-text-data-and-replace-with-desired-value) but that doesn't seem to work. - I tried logging the HTTP::payload from my mobile device but there is nothing of use there that i can see.
The mobile devices for testing will be Apple primarily but would be nice to be able to use Android. My other option is to use a VPN via APM and access the site internally (rather than exposing this VS to the world, or the specific mobile network they will be using).
2 Replies
- Josiah_39459Historic F5 Account
You can execute authentication on any logic based on the information you receive from the client. But if the client doesn't send anything to uniquely identify itself, then there's nothing you can do. Whoever wrote that original article obviously had a way to get the client to send the imei which they did not post there and quite possibly no longer works (just as apple has restricted app access to uuid). You would have to determine how to get your clients to send unique identifying information (for example via stackoverflow or apple) and then you could use that irule or similar one to extract it.
- SriniM_188537
Nimbostratus
Hi Don, Did you find any solution ? Our requirement is to allow certain mobile devices and block all other devices .
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
