3 ms·
> There is no equivalent mechanism for the average user to securely tell the OS to run this program with these resources, and trust that nothing else will happe
by saagarjha 5y ago
> There is no equivalent mechanism for the average user to securely tell the OS to run this program with these resources, and trust that nothing else will happen, nor hidden surprises persist.
You’re just not familiar with them. iOS has pervasive sandboxing allowing for fine-grained access control to system resources. Most sandbox profiles start by denying everything by default and adding in things deemed necessary for the program. The issue is that 1. sometimes the things added in are too broad or 2. the sandboxing mechanism itself is broken via an exploit.
- wolverine876 5y agoDo you know where that is documented?
- saagarjha 5y agoMost of it isn’t, at least officially. Sandboxing was never really exposed as a public API for third parties to use, so Apple doesn’t really discuss it in much detail.
- moonchild 5y agoAttempting to run untrusted code on trusted hardware is a fool's errand. Sandboxes do not work. Hardware privilege separation does not work. It is a lost cause. We need to start separating devices, and stop normalizing js.
- saagarjha 5y agoDon’t you work on a web browser?
- moonchild 5y agoNo.
- fsflover 5y agoYes, it does work: https://qubes-os.org https://qubes-os.org.
- moonchild 5y agoYes, because no one has ever escaped from a VM. Wait ... https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=qemu https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=qemu
- fsflover 5y agoThis is not how Qubes VMs work. They use hardware (VT-d) virtualization, which AFAIK was last time broken by the Qubes founder in 2003: https://en.wikipedia.org/wiki/Blue_Pill_(software) https://en.wikipedia.org/wiki/Blue_Pill_(software).
- moonchild 5y agoRowhammer? F00f? Spectre?
- fsflover 5y agoThose are indeed serious problems. But you can't simply say "sandboxes don't work". See also: https://news.ycombinator.com/item?id=27897975 https://news.ycombinator.com/item?id=27897975
- moonchild 5y ago> you can't simply say "sandboxes don't work" Why, though? I find it extremely plausible that there is no sandbox which can prevent programs from escaping, and that the same is not true of physical separation. (Obviously even physically separated machines are prone to problems too; but I believe it is possible to resolve them.) Regarding 'don't be nihilistic', I really don't think that's what I'm doing; I'm suggesting a path forward, a different course of action. It doesn't seem any more nihilistic to say 'let's move away from shared hardware' than to say 'let's move away from md5'.