News for hackers. Stuff that matters.
Re:Show HN: Minimal native MP3 player for Mac by roryisok on Sunday March 11, 2018 @12:25PM (#16563567)
And if the browser provided unrestricted file access they probably would. But we'd all be in trouble
Re:Show HN: Minimal native MP3 player for Mac by pjmlp on Sunday March 11, 2018 @12:28PM (#16563584)
All apps, even native ones should be forbidden to have unrestricted file access.

Just because something runs under my id, doesn't mean I want it to read everything I have in $HOME without me knowing about it, and possibly sharing it with the world.

On my systems, every sandbox option I can enable is turned on.

Re:Show HN: Minimal native MP3 player for Mac by roryisok on Sunday March 11, 2018 @12:52PM (#16563691)
My point was the browser has no file access. Most electron apps work with the filesystem in some way, and in the browser it's not possible to, for instance, give a web app access to a folder on the desktop
Re:Show HN: Minimal native MP3 player for Mac by pjmlp on Sunday March 11, 2018 @01:41PM (#16563921)
HTML 5 File API is a thing.
Re:Show HN: Minimal native MP3 player for Mac by roryisok on Sunday March 11, 2018 @03:59PM (#16564494)
Groovy