News for hackers. Stuff that matters.
Re:Tell HN: Google does not list application permissions in ... by kuschku on Friday June 10, 2022 @06:37PM (#31700134)
Network access requires no user approval. The only place you could find it before granting it to an app was via the permissions list in the play store.
Re:Tell HN: Google does not list application permissions in ... by mdp2021 on Friday June 10, 2022 @07:14PM (#31700389)
Ok, let us clarify the matter a little.

An Android application requires "permissions" to do "anything past the basics"; permissions have to be declared in the "Manifest" file.

There are (simplifying) two main types of permissions: "normal"¹ and "dangerous, runtime"²; the former only need to be specified by the programmer in the Manifest; the latter also need direct confirmation from the user at a requester prompt.

This implies that "normal" permissions are granted by the user implicitly with the action of installing the application. Which means, that it is _quite important_ that the user sees the permissions list beforehand, before installation.

--

¹"Normal": BLUETOOTH, INTERNET, VIBRATE...

²"Dangerous": READ_CONTACTS, RECORD_AUDIO, SEND_SMS...

Re:Tell HN: Google does not list application permissions in ... by uranium on Friday June 10, 2022 @06:47PM (#31700211)
Same with "run at startup" and some other important ones; there's no way to deny it once installed.
Re:Tell HN: Google does not list application permissions in ... by kikokikokiko on Friday June 10, 2022 @07:13PM (#31700378)
This is why having a firewall installed is essential in every android phone. Afwall+ does the job. My phones are all rooted but if I'm not mistaken it works on non rooted phones as well.
Re:Tell HN: Google does not list application permissions in ... by uranium on Friday June 10, 2022 @10:35PM (#31701461)
Nope, it requires root, as it should, really. Anything that can mess with networking at a low level needs root; there's no Android permission that I know of that lets you get down to iptables level.
Re:Tell HN: Google does not list application permissions in ... by mdp2021 on Saturday June 11, 2022 @04:36AM (#31702929)
There do exist "noroot" Android firewalls; I am not sure how they work (I think by somehow becoming interfaces - like "noroot" packet sniffers), but very probably not through `iptables`.

There are products on GitHub; I am looking at NetGuard (from, I think, Marcel Bokhorst aka M66B - the project has many forks). The .md says, «The only way to build a no-root firewall on Android is to use the Android VPN service».