android - Allow network connection to a specifc app -
i developing application mobile (iphone , android) maps based company. company has deployed wireless network allow, subscribing, internet access.
the idea of mobile app give internet access specific app ones have it. in other words, company wants allow application connect network.
my question is: possible give access specific application , appropriate way? app "recognize" network or network in charge of give access specific app? suggestion appreciated.
if want provide app connect network need put rules in iptables in linux
core (this needs application have root access
) firewall applications
android monitors uids of applications accessing network
but can other way, implement server calls particular network of company accessed through particular app, use validation in http requests such maintain unique id
differentiate app/user can create during registration , during interacting network use key validation
.