4 ms·
Is this different than any other embedded webview? Doesn't nearly every app somewhere have an embedded webview somewhere for things like "view privacy policy"
by londons_explore 3y ago
Is this different than any other embedded webview? Doesn't nearly every app somewhere have an embedded webview somewhere for things like "view privacy policy", where it is often much easier to display html than sending the whole privacy policy to your app developer?
- deleted 3y ago[deleted]
- Aulig 3y agoYea, I think that's all it is.
- dannyw 3y agoThe webview appears to have privileged JS functions for password manager key management and recovery.
- jve 3y ago> appears Until someone confirms that they are what the name and what the speculation is about.
- brazzy 3y ago> Is this different than any other embedded webview? Yes - it exposes an API to set device encryption keys to the websites that you visit with it- At least that's how I interpret the last section "The dangerous functions".
- ceejayoz 3y agoDo normal embedded webviews also bypass parental controls? If so, that seems like a massive issue.
- Tyr42 3y agoNormally they are fixed to one domain.
- ceejayoz 3y agoRight, but if I've banned youtube.com in parental controls, it'll still load in, say, a Mastodon client with an in-app browser for opening links?
- jeroenhd 3y agoEmbedded webviews were the easiest parental control bypass on Windows since about Windows 98. I've played so many flash games through the documentation for Microsoft Word! I can't find any information anywhere that either confirms or denies the possibility to bypass Google's restrictions with web views. I assume it's possible, because it's possible on most platforms, but I suppose it depends on the implementation. I've seen parental controls that employ an (on-device) MitM proxy and DNS filtering to ensure safety, and those apps will prevent almost any app from displaying unwanted content.
- littlestymaar 3y agoIf any app that has an embedded webview allows to bypass parental control, then this is an even bigger bug in Android… (without even talking about this key management stuff, because at this point it's merely speculation as the author didn't test what they actually do: “you have two methods which I don’t know what they do, but they sound scary”)
- berkes 3y agoCan you visit arbitrary websites using such webviews? I never managed to. And IIRC it's rather difficult to set up a webview that allows multiple domains or URLs (but I'm no android dev, and the last time I had to fiddle with this, was years ago)
- jeroenhd 3y agoThe reason it works here is that this particular webview opens a Google page that links to Google.com. There is no address bar so any safe browsing enforcement will make it at least two steps harder to access most had content. Blocking external domains shouldn't be that hard, but I also don't think parental controls are of any interest or priority for most app developers.
- berkes 3y agoLast time I fiddled with it, was when we moved domains and our webviews stopped working. They i) did not follow the redirects we had in place, and ii) did not allow loading the new URL without whiltelisting that domain/url somewhere in the source-code. IIRC whitelisting was the default in webviews; not sure if it still is, or if our expert Android dev configured it this way, but even getting a build that allowed to load content from our new domain required a new build. (Let alone that someone, even if we had links or such in our about.html, would be able to navigate there).
- Asooka 3y agoPlease use "allowlist" instead of "wh_telist".
- bigger_inside 3y agohuh? why? is there a bot checking for this word? will it get someone in trouble?
- KingMachiavelli 3y agoIt'd be pretty simple to enforce sandbox/parental controls for the integrated webview browser. 1. Just limit the webview browser location to the same list as allowed by the parental control. 2. By default limit the webview browser location to the domain first opened by the app i.e locked to a single domain by default. 3. Allow webview browser to be expanded via a regex/pattern list of domains. 4. Limit the number of webview browser location changes so even if you can access a search engine with a global domain allowlist, it would just return to the first page after N window.location changes. There's plenty of introspection you can do via JS (which is already being used to set/inject that `mm` object), it could even check for certain DOM elements, HTTPS fingerprint, etc. to determine if the page is an "intended" destination for the particular integrated webview browser.
- tweakor 3y agoThat's exactly what this is. It's Android System Webview, the embedded browser that apps use when they aren't a browser themselves.
- bmicraft 3y agoSorry, but how is this news then? The Google settings have never felt native and therefore were almost certainly a browser for a very long time now
- dgellow 3y agoWhy does it have to be news? Someone wanted to share what they found, that’s what personal blogs are for. Nothing more.
- Kailhus 3y agoWell, that neither news or “secret”. Nice find though
- low_tech_punk 3y agoWell, "news" is defined by the upvotes on HN ¯\_(ツ)_/¯
- lifeonlars 3y ago"Hacker News"
- 3y ago
- TX81Z 3y agoI used to be able to do the same thing in iTunes years ago as a laugh. I don’t see how this is a huge deal.