News for hackers. Stuff that matters.
Re:The Browser Is the Worst Sandbox Ever Designed by amluto on Friday July 15, 2016 @11:58AM (#12101887)
> E.g. for uploading files, you first need to copy them to the Downloads folder.

No, you need a "portal" or "intent" or "capability" whatever you want to call it. Browser asks sandbox to ask user to select a file, and browser gets that file. Android has been able to do this for a while, but full sdcard access is so easy that everyone uses it instead. Flatpak nee xdg-app will do this.

Re:The Browser Is the Worst Sandbox Ever Designed by eridius on Friday July 15, 2016 @01:26PM (#12102523)
This capability system is exactly how OS X's built-in sandbox works. Sandboxed apps don't have unrestricted access to the filesystem, but if they invoke the system-provided Open dialog, and the user selects a file, the application is granted access to that file (which it can persist, so it can continue to access that file in the future).