3 ms·
> If it was as easy to download, install, and run native apps, we would be having the same exact conversations in regards to security and portability. Mobile p
by Technically 6y ago
> If it was as easy to download, install, and run native apps, we would be having the same exact conversations in regards to security and portability.
Mobile platforms have invested in restricting apps by ability. There's no such way to exert this control over web apps with current browsers.
For instance, how to you stop a page from snooping your keystrokes? At best you can disable javascript entirely.
The browser really, really, really needs to adopt the sandbox model used by the rest of the operating system for this to make any sense, and right now the browser is more of a gaping hole in your wall than a sandbox.
> The user should be allowed to do what they want, right?
You'd need to do a hell of a lot of footwork to actually enable users to make decent decisions about random code found on the internet. I don't trust anyone technical I know to do this, much less people who don't understand what's going on.
- themacguffinman 6y agoI'm not sure what you mean, a webpage can't just randomly snoop on all your device's keystrokes if you don't have it open AFAIK. Do you have an example of this? Browsers already use a sandbox + permission model very similar to mobile. A webpage can't just silently obtain your location data, for example, it has to ask permission first. Any hypothetical hardware API will probably use the same permission flow.