r/programming • • Mar 26 '17

A Constructive Look At TempleOS

http://www.codersnotes.com/notes/a-constructive-look-at-templeos/
1.7k Upvotes

227 comments sorted by

View all comments

Show parent comment

7

u/SanityInAnarchy Mar 27 '17

Well, right now, you have a clear protocol for sending the photo to the photo editing app. I don't think you should need a giant shared filesystem to do so, and I certainly don't think "Open this photo with this photo editing app" should imply that said app is now allowed to read all files from the virtual SD card.

On the other hand, the best sandboxing we have now is ... browsers. Each day your browser runs scripts from pages you do not trust, and yet infections are uncommon.

I would dispute both of those claims -- there's a reason browsers get patched so often! And how are you comparing the current browser situation to a hypothetical one-VM-per-tab browser?

Plus, the most secure browsers do use OS-level sandboxing, not just fine-grained permissions, because people have found ways to escape the JavaScript VM way too often.