Android Permission: Opposite to "Full Internet Access"
In Android an application can request the android.permission.INTERNET
permission. This gets translated by Android for the UI to "full Internet access".
Is there something like "restricted Internet Access"? What does the word "full" mean here? Are there any other permissi开发者_如何学运维ons which enable Internet Access but only to specific sites?
I wrote an application which only needs access to one url and only needs a HTTP Connection to download this url. Do I need the INTERNET
-Permission or is there something less which still suffices my needs?
INTERNET
Allows applications to open network sockets.
USED FOR INTERNET ACCESS... There is no other permission and the word FULL is meaningless
However note these permissions:
ACCESS_NETWORK_STATE
Allows applications to access information about networks
ACCESS_WIFI_STATE
Allows applications to access information about Wi-Fi networks
CHANGE_NETWORK_STATE
Allows applications to change network connectivity state
See the following Android Security Discussion for details about the technical limitations : http://groups.google.com/group/android-security-discuss/browse_thread/thread/ec7a9b85e77c6d98
精彩评论