4 ms·
Android and Google apps are becoming more and more locked down. Google still has the "don't do evil" motto?
by DeathArrow 5y ago
Android and Google apps are becoming more and more locked down.
Google still has the "don't do evil" motto?
- wetpaws 5y ago> Google still has the "don't do evil" motto? It ditched it quite a while ago.
- input_sh 5y agoNo, every single article that said that has always been inaccurate. It used to be in the first and last sentence of its code of conduct (https://abc.xyz/investor/other/google-code-of-conduct/ https://abc.xyz/investor/other/google-code-of-conduct/). They've removed it from the preface, but it's still in the last sentence.
- atatatat 5y agoReprioritised.
- square_usual 5y agoThese are reasonable security measures, but it does bother me that there's no way around them. I don't use android (or Chrome) so I don't know, but could anyone more knowledgable about these moves chime in about whether it's possible to circumvent them with user permission?
- red_trumpet 5y ago> Starting with Chrome 94, Chrome no longer allows HTTP requests to local IP addresses. What kind of scenario does that prevent?
- jand 5y agoEnumeration and more - as far as i understood. My evil website can no longer access the top secret stuff you are developing on localhost. My evil website can no longer enumerate the http servers in your local LAN.
- franga2000 5y ago"This website would like to scan your local network and communicate with other devices" "Allow Once/Deny/Block"
- wildrhythms 5y agoWell maybe I want to grant the site access to a particular internal IP without the ability to send requests everywhere... at what point would Chrome just have its own separate firewall?
- franga2000 5y agoThe modern browser is already an operating system by all definitions I know so yes, it might as well have a firewall. But that isn't very elegant, so I propose version 2.0: "This site has requested communication with a local device. Please select it from this list:" [the user is presented with a list of devices discovered by zeroconf/dns-sd/mdns/upnp matching the service descriptor given by the page] Turns out, this was an actual spec [0] pushed by Opera of all companies. Here's a quote from the spec: > window . navigator . getNetworkServices ( type , successCallback [, errorCallback ] ) > > Prompts the user to select discovered network services that have advertised support for the requested service type. > > The type argument contains one or more valid service type tokens that the web page would like to interact with. > > If the user accepts, the successCallback is invoked, with zero or more NetworkService objects as its argument. > > If the user declines, the errorCallback (if any) is invoked. [0] https://www.w3.org/TR/2012/WD-discovery-api-20121004/ https://www.w3.org/TR/2012/WD-discovery-api-20121004/
- Thorrez 5y agoThe problem with that is the site the user is on is http:// http:// . Security at that point is pretty iffy. You kind of need to say "foo.com or some MITM attacker pretending to be foo.com wants to scan your local network. Allow Once/Deny/Block". Full disclosure I work at Google, but not on Chrome.
- tannhaeuser 5y agoWat? Won't Chrome allow this at all (eg when entered via the URL bar, as long as there's one, that is) or just when linked from a non-same domain page?
- Thorrez 5y agoChrome will allow it. Links will also work from any site. https://developer.chrome.com/blog/private-network-access-update/ https://developer.chrome.com/blog/private-network-access-upd... I believe the change is that http:// http:// pages on public websites won't be able to talk (such as via XHR/fetch, embedded images/scripts/css) to private IP address or sites with domains that resolve to private IP addresses. One obvious workaround is to change the requesting page to https:// https:// instead of http:// http:// . This is somewhat difficult because then there's the problem of mixed content, since it's often difficult to get an https:// https:// certificate for the server that runs on the private IP address. There are 2 other workarounds listed on the Chrome blog post: WebTransport and and Reverse embedding (which means running the site on a private IP address instead of a public IP address). It looks to me like those could work in the Portal case. Full disclosure I work at Google, but not on Chrome.
- Thorrez 5y agoFirst thing, that quote is wrong. Chrome will still allow HTTP requests to private IP addresses if the site you're on also has a private IP address. https://developer.chrome.com/blog/private-network-access-update/ https://developer.chrome.com/blog/private-network-access-upd... To answer your question: HTTP is vulnerable to MITM attacks. For example your ISP can modify any page you visit, steal passwords, cookies, oauth tokens, etc. If the site is forced to switch to HTTPS, your ISP can no longer pull off this attack. Full disclosure I work at Google, but not on Chrome.
- zetafunction 5y agoFrom https://developer.chrome.com/blog/private-network-access-update/ https://developer.chrome.com/blog/private-network-access-upd... > The aim is to protect users from cross-site request forgery (CSRF) attacks targeting routers and other devices on private networks.
- syntheticnature 5y agoNote that it was always "Don't be evil", rather than "Don't do evil." A lot of evil is done by people believing themselves good the whole time.