News for hackers. Stuff that matters.
Re:Is WebAssembly the Return of Java Applets and Flash? by TeMPOraL on Thursday July 26, 2018 @09:38AM (#17617362)
> This is a step forward not backwards. The security model of allowing apps access to your full filesystem (assuming your user has access) is flawed. It leads to apps storing data in funny places, reading files they shouldn't, and general mayhem. Requiring the user to explicitly allow the app to access the file is a good thing.

Most apps being limited to their little part of the filesystem is not a problem. The problem is, now as a user, I can't access those files. I can't view them in a form that suits me, I can't use other applications to operate on them. The true form of the data is forever hidden from me, a secret of the application that "owns" it.

Re:Is WebAssembly the Return of Java Applets and Flash? by Klathmon on Thursday July 26, 2018 @10:11AM (#17617654)
IMO that's a fairly easily solved problem. Browsers can add "localstorage browsers", you might even be able to do it in a browser extension.

I'd also love it if they gave that ability.

Re:Is WebAssembly the Return of Java Applets and Flash? by Eequei3i on Thursday July 26, 2018 @12:30PM (#17618717)
But that's the wrong direction. Instead it should map to a file tree that you can explore with your native file explorer and text editor. The browser becomes a silo for your data, inaccessible by every other application.
Re:Is WebAssembly the Return of Java Applets and Flash? by aeorgnoieang on Thursday July 26, 2018 @10:16AM (#17617690)
> The true form of the data is forever hidden from me, a secret of the application that "owns" it.

But that's been true for almost all users, and not just webapp users, forever.

Re:Is WebAssembly the Return of Java Applets and Flash? by TeMPOraL on Thursday July 26, 2018 @10:28AM (#17617763)
Not necessarily. In the world of desktop software, most users know what a file is, and know that all the data of what they've been working at the moment on is contained within such a file. They know they can move this file around and possibly send to whomever they want. They also know that a file can be opened by multiple applications.

SaaS and web kill that.

Re:Is WebAssembly the Return of Java Applets and Flash? by aeorgnoieang on Friday July 27, 2018 @04:32PM (#17629098)
I was thinking of all of the files in proprietary, and particularly binary, formats. Maybe some users know that even those files can be opened by multiple applications, when that's even true, but I suspect even more users don't even realize that almost all of their data is stored in a file somewhere, let alone where that file is in the filesystem and in what format it's stored.

Given the ubiquity of Word document and Powerpoint presentation files and the like, most users I'll grant you are aware of the files themselves, and the fact that they can be attached to an email. I'll even grant that a large fraction of those same users could answer 'yes' to the question 'Could these files be opened by another application?'. But almost none would be capable of doing anything with those files without an application that handles everything for them.

I don't dispute tho that an awareness of, let alone existence of, files in a filesystem is a significant benefit and not having access to them is a (relatively) significant loss.