|
|
|
|
|
by pdkl95
3053 days ago
|
|
> Most of the problems with the modern web stem from the failure of browser vendors to implement a good user-centric permissions model. I suggest that such creating a proper permission model isn't possible, because it isn't possible to determine the behavior of Turing complete programs without running them[1]. Browsers are currently chasing the impossible[2] goal of trying to enumerate badness - often only the known types of badness that fit their permission model. > I want a simple, limited, fast, secure, document-centric platform We had that: HTML, before Javascript. Allowing any Turing complete code to run at all will always be risky[3]. [1] halting problem [2] http://www.ranum.com/security/computer_security/editorials/d... [3] https://news.ycombinator.com/item?id=15708099 |
|
If they want to run JavaScript that uses more than say 5% CPU or more than 300 MB of memory (both on average over 30 seconds) they must ask for permission.