Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In Android 6, the user has (finally!) the possibility of approving or denying specific permissions to an app.

However, I couldn't find a way to approve or deny network access, either via Wi-Fi or via cellular data connection. The relevant permission appears in "Other app capabilities" and it's only informative -- apparently there's no way to change it.

Here's an example with the Chess Free app:

screenshot

share|improve this question
3  
You can't. Let me find a credible source but you can't do it natively since it would hurt Google's interests a lot (ads, that is). Edit: You would find this article interesting: androidpolice.com/2015/06/06/… – Firelord Feb 27 at 23:32
up vote 22 down vote accepted

You won't be able to achieve success through the native mechanism of Android.

Cody Toomb at Android Police has very well pointed this out in the article: Android M Will Never Ask Users For Permission To Use The Internet, And That's Probably Okay.

In the section Normal and Dangerous Permissions of the document System Permissions, Google has noted:

System permissions are divided into several protection levels. The two most important protection levels to know about are normal and dangerous permissions:

  • Normal permissions cover areas where your app needs to access data or resources outside the app's sandbox, but where there's very little risk to the user's privacy or the operation of other apps. For example, permission to set the time zone is a normal permission. If an app declares that it needs a normal permission, the system automatically grants the permission to the app. For a full listing of the current normal permissions, see Normal permissions.
  • Dangerous permissions cover areas where the app wants data or resources that involve the user's private information, or could potentially affect the user's stored data or the operation of other apps. For example, the ability to read the user's contacts is a dangerous permission. If an app declares that it needs a dangerous permission, the user has to explicitly grant the permission to the app.

(Emphasis mine)

Surprising or not, the following permissions comes under the list of Normal Permissions:

  • CHANGE_NETWORK_STATE - allows applications to change network connectivity state - i.e. mobile data;
  • CHANGE_WIFI_STATE - allows applications to change Wi-Fi connectivity state;
  • INTERNET - allows applications to open network sockets.

If that doesn't suffice, checkout the permissions managed by AppOps here. If you don't find your permission listed there, you wont be able to do anything with it in GUI.

Since alternative methods are already extensively covered on this site, refer to:

share|improve this answer
8  
Thanks for your answer. It's disappointing when features are crippled not because of technical impossibilities but because of market reasons. – dr01 Feb 28 at 11:25

You could use NetGuard (see my list of Internet Firewalls for other alternatives), which works without root and lets you block internet access for apps selectively (WiFi or mobile data, and even always or only if screen is off). It's from the dev of XPrivacy, so it has to be good ;)

Netguard Netguard Netguard
NetGuard (source: Google Play; click images for larger variants)

NetGuard is open source, so you can also find it at F-Droid.

share|improve this answer
1  
NetGuard's F-Droid variant actually has added functionality beyond that allowed in the Play Store. – andDevW May 24 at 20:27

There are some really cool apps that can do it without rooting. Here are two examples:

share|improve this answer

Internet access cannot be denied for individual apps on Android natively. Ads are the major sources of Google's revenue.

However if you're using Opera Max, you can restrict internet access to individual apps. You can even save data, thanks to Opera's compression technology.

Install Opera Max from Play Store. It's completely free and easy to use. No root required.

share|improve this answer

If you have root access you could also use:

I have updated my device to Android 6.0.1 and until now both seem to work.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.