News for hackers. Stuff that matters.
Re:Ask HN: What’s the most outrageous belief you’re confiden... by mikewarot on Thursday December 30, 2021 @09:23AM (#29736898)
No, nothing like that at all. Imagine opening a file in a text editor.... the editor pops up a dialog asking you what file to open... and then grabs the file you indicated. It can do this because it has access to everything, so if it gets confused, or subverted, there's zero guarantee that it will do the right thing.

Imagine instead, your text editor called the system to get a capability, which then opened the same dialog, and gave a capability (like a file handle) to the text editor for its use. If it got confused, or subverted, the only thing it could mess up would be that one file.

There are no comments on this comment yet.