News for hackers. Stuff that matters.
Re:Deno Is a Browser for Code by chii on Thursday May 28, 2020 @11:54PM (#23346114)
> ask it to let one script access the file system, another access network and the rest of them run fully sandboxed.

this is actually quite a difficult problem to solve. You're balancing the security needs with usability.

Browsers have an advantage on this aspect, because they can make the assumption that the webpage does not require filesystem access.

i think fully sandboxed OS-esque security model is the only way this can work. Like on android, where each app sees only their own filesystem, and app-to-app interaction is done via a permission based system that the user has to approve.

Re:Deno Is a Browser for Code by aabbcc1241 on Friday May 29, 2020 @06:12AM (#23348234)
On android the apps has access to shared folders. For example my music player can scan and read files under /mnt/sdcard/Android/data/com.dropbox.android/files/

It maybe more isolated if it follows the nix file system model?

Re:Deno Is a Browser for Code by bryanrasmussen on Friday May 29, 2020 @12:11AM (#23346188)
They could have maybe looked at E for some inspiration on how to solve the problem http://erights.org/