2 ms·
> major browsers are trying to create their own sandbox environment This is partially true: for example there are sandboxes considering the website origin and
by viraptor 10y ago
> major browsers are trying to create their own sandbox environment
This is partially true: for example there are sandboxes considering the website origin and related restrictions, but on the process level browsers reuse the system mechanism instead of implementing their own. For example on linux, chrome uses seccomp and a number of other ways to separate the ui from the backend. Windows has its own solutions for this.
So I don't think it's right to say they create their own sandboxes. At least not in a NIH meaning.
Containers are just a fancy package for the protections offered directly by namespaces and other existing restrictions. User namespaces are already used in chrome sandboxes for example (https://chromium.googlesource.com/chromium/src/+/master/docs/linux_sandboxing.md#User_namespaces_sandbox.md https://chromium.googlesource.com/chromium/src/+/master/docs...)