top | item 46062788

(no title)

disambiguation | 3 months ago

Netguard solves this, available on the play store and F droid

https://netguard.me/

discuss

order

aceazzameen|3 months ago

Netguard is fantastic. I even use it on my Sony android TV to block everything except for a few streaming apps.

evilduck|3 months ago

Netguard is amazing but I'm convinced the dev is mildly colorblind and unaware of it. The color choices and even optional themes are... something.

lsaferite|3 months ago

I love netguard. Some apps refuse to work without network access, but most work fine. The lack of ads is great.

n4bz0r|3 months ago

How does it work without root? Any app can just block other apps from connecting to the internet?

jeroenhd|3 months ago

An app can use the VPN API to intercept network traffic. This is all done with plenty of security popups (one to inform you an app is trying to register as a VPN, the another popup when it's first activated, and the while it's active there's a permanent notification that says "your connection may be monitored" with a quick button to kill the VPN).

The API is supposed to let apps do things like "route intranet/corporate app traffic over a VPN, let other traffic go through", but you can just as easily use it to drop traffic destined for certain addresses (such as ad servers), or to drop all traffic for specific apps. It's also possible to make decisions like "let this app connect to the internet on wifi but not on data".

It should be noted that system applications (phone OS, Google, sometimes carrier apps) can bind to specific network interfaces bypassing this API entirely. This means you can't use this API to 100% block internet access to preinstalled apps, even though apps will need to explicitly implement networking code to bypass such firewalls.

It should be noted that Google doesn't really like apps abusing the VPN API like this, in past because of the massive privacy risk. Google cut a bunch of these apps from Google Play, though there's not much they can do about APKs you download from F-Droid or github.