Site isolation is a browser security architecture that places pages from different websites into separate operating system processes, so that one site cannot read another site’s data from memory even if it exploits a flaw in the rendering engine. In browser technologies for the Web, it is the main defense against cross-site data leaks caused by compromised renderers and by speculative execution attacks such as Spectre.
Site isolation extends the classic same-origin policy, which is enforced by browser logic, with a boundary enforced by the operating system itself. Chromium-based browsers enabled it broadly in 2018, and Firefox followed with its own implementation, known as Project Fission.
How site isolation separates websites into processes
Site isolation works by assigning every site its own renderer process. A site is defined as the scheme plus the registrable domain, also called eTLD+1, so https://mail.example.com and https://docs.example.com belong to the same site, while https://example.org is a different one.
The decisive step is that isolation applies inside a single page as well. When a page embeds a cross-site iframe, such as an advertisement or a payment widget, the browser renders that frame in a different process through out-of-process iframes, often abbreviated OOPIF. The browser process composes the frames into one visible page, while their memory stays separated.
The browser process also filters network responses. Cross-Origin Read Blocking, and its successor Opaque Response Blocking, prevent a renderer from receiving sensitive cross-site resources such as HTML or JSON when it requests them through tags like img or script, so that the data never enters the attacker’s process.
| Mechanism | What it does | Threat it addresses |
|---|---|---|
| Process per site | Separates top-level documents by site | Memory reads across tabs |
| Out-of-process iframes | Moves cross-site frames into other processes | Malicious embedded content |
| Response blocking | Keeps sensitive cross-site data out of renderers | Spectre-style memory leaks |
| Process locking | Ties each renderer to one site for its lifetime | Compromised renderer requesting foreign data |
| Browser process checks | Validates renderer requests for cookies and storage | Renderer impersonating another site |
Why site isolation became necessary
Before site isolation, a browser usually trusted the same-origin policy enforced inside the renderer. That model failed in two ways: a renderer exploit could bypass the checks in code, and the Spectre vulnerability disclosed in 2018 showed that JavaScript could infer data from the same address space through CPU side channels, without any software bug.
Browsers first reduced timer precision and temporarily disabled SharedArrayBuffer, but those measures only slowed attackers. The durable answer was to ensure that secret data from another site is never present in the attacker’s process in the first place.
Site isolation compared with related browser security features
Site isolation is often confused with neighboring security concepts in browser technologies. The table explains how it differs from them and how they complement each other.
| Feature | Boundary enforced by | Relationship to site isolation |
|---|---|---|
| Same-origin policy | Browser logic in the renderer | Logical rule that site isolation backs with processes |
| Browser sandbox | Operating system restrictions | Limits what any renderer can do to the system |
| CORS | HTTP headers from the server | Relaxes the same-origin policy on purpose |
| Cross-origin isolation | COOP and COEP headers | Opt-in mode that re-enables powerful APIs |
| Origin isolation | Origin-Agent-Cluster header | Finer separation by origin instead of site |
The browser sandbox protects the operating system from a renderer, while site isolation protects sites from each other. Both are needed: a sandboxed renderer that hosts two sites at once could still leak data between them.
Browser support, granularity and cost
Implementations differ by browser and platform, mostly because each extra process consumes memory. Chromium reported a memory overhead in the range of roughly 10 to 13 percent on desktop when isolation was launched, with the exact figure depending on how many sites and frames are open.
| Browser engine | Desktop status | Mobile approach |
|---|---|---|
| Chromium and Blink | Full site isolation since 2018 | Partial, prioritizing sites where users sign in |
| Firefox and Gecko | Project Fission enabled by default since 2021 | Rolled out more gradually |
| Safari and WebKit | Process per tab, site isolation under development | Constrained by device memory |
On Android, Chrome uses partial site isolation on devices with sufficient memory, isolating sites where the user has entered a password or signed in through a known identity provider. Enterprise administrators can enforce stricter isolation policies, including isolation by origin for selected domains.
What site isolation means for web developers
For most websites, site isolation is transparent: pages behave the same, but cross-site frames now run in parallel processes. Developers mainly notice effects at the edges of the model.
- Correct Content-Type headers matter: response blocking relies on accurate MIME types and
X-Content-Type-Options: nosniff, so mislabeled JSON may be blocked or, worse, left unprotected. - Synchronous cross-frame access is impossible: cross-site frames communicate only through
postMessage, which was already the rule under the same-origin policy. - Powerful APIs require opt-in: features such as
SharedArrayBufferneed cross-origin isolation through COOP and COEP headers. - Same-site subdomains share a process: isolation does not separate
a.example.comfromb.example.comunless origin isolation is requested. - Isolation is not a fix for XSS: injected script runs inside the victim site’s own process and is unaffected.
Understanding it simply
Site isolation means the browser gives every website its own sealed room. Your bank, your email and a random news site each run in a separate room, and the walls are built by the computer’s operating system, not just by polite rules.
Even if a bad website breaks something in its own room, it cannot look into the other rooms to steal passwords or messages. The price is that the browser uses more memory, because it has to keep more rooms open at the same time.
Applied in practice
A news site embeds a third-party advertising iframe, and one advertising network unknowingly serves a script designed to exploit a Spectre-style side channel. The user also has an online banking session open in another tab, and the news page itself contains an embedded social media widget with the user’s profile data.
With site isolation enabled in a Chromium-based browser, the advertisement runs in its own renderer process, separate from both the news page and the widget, and the banking tab lives in yet another process. The malicious script can probe only memory that belongs to the advertising site, and attempts to load the bank’s JSON account data through an image tag are stopped by response blocking before the data reaches that process. The outcome is that the attack yields no readable data from other sites, and the user notices nothing beyond normal page behavior.