3 ms·
> 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
by chii 6y ago
> 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.
- bryanrasmussen 6y agoThey could have maybe looked at E for some inspiration on how to solve the problem http://erights.org/ http://erights.org/
- aabbcc1241 6y agoOn 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?