|
You are right, that is the most secure platform at the moment to distribute graphical user interface programs, but I think it should go further. E.g. I would go so far, that it shouldn't be possible by default for the server to send me a huge HTML/CSS/JS blob that does all kind of weird stuff (e.g. reporting to the host, mouse movement analysis, etc.). I am probably in a minority with the following opinion, but I think a page shouldn't even have the ability to enforce a layout which in the end draws pixels on your screen. The web is a step forward and HTML is a good idea, but it is not used anymore in its intended form - it works very well for text distribution, but richer applications have to resort to JS. Now if you disable JS you could in theory render it as you like, but this is far from trivial. //edit: Lets consider a bus company offering search to find offers that get you from A to B (i.e. a route planner, trip finder, ...). This app shouldn't ship you random HTML/JS, but just the information you need to query its database, which is simply some GETing and POSTing of specified requests. When connecting to the app (going to https://trip-search.example.com) the host could disclose it self as an application having type `(From, Date, To, Date) -> Maybe TripList` or something like that (I think one gets the idea). The web is great, but I think security should and must go further, I do not want run random Turing machines. |
Exactly. I want a document to read, not an application to execute. Sadly that battle is feeling more and more lost as time goes by.