3 ms·
Wait... So any app with INTERNET permission can open a server on an Android phone? I hope I'm missing something here?
by bornfreddy 1y ago
Wait... So any app with INTERNET permission can open a server on an Android phone? I hope I'm missing something here?
- zb3 1y agoYes, I rely on this for my internal app to serve scriptlets to ublock origin. I hope they won't take it away, at least make it possible for the user to keep this behaviour.. I also rely on this for another internal app that opens a rsync server..
- baby_souffle 1y agoEssentially, yeah. Chromecast and Netflix have done this for a while now to facilitate some sort of hand-off. I don’t have the details handy, but a few years ago I was `adb shell` into my device to debug something untreated and did a quick `netstat` and noticed a few ports that were open / did not expect. Tracked them down to Netflix, specifically.
- merelysounds 1y agoYes, this permission allows that. Docs say: “Allows applications to open network sockets.”[1], full description seems to be[2]: > Allows the app to create network sockets and use custom network protocols. The browser and other applications provide means to send data to the internet, so this permission is not required to send data to the internet. [1]: https://android.googlesource.com/platform/frameworks/base/+/master/core/res/AndroidManifest.xml#2179 https://android.googlesource.com/platform/frameworks/base/+/... [2]: https://android.googlesource.com/platform/frameworks/base/+/HEAD/core/res/res/values/strings.xml#1677 https://android.googlesource.com/platform/frameworks/base/+/...