Browser - Same Origin Policy

> (World Wide) Web - (W3|WWW) > Web - Browser

1 - About

User agents (such as browser) commonly apply same-origin restrictions to network requests.

The browser code enforces the Same-Origin Policy.

These restrictions prevent a client-side Web application running from one origin from obtaining data retrieved from another origin, and also limit unsafe HTTP requests that can be automatically launched toward destinations that differ from the running application's origin.

Although some validation and authorization can be performed by the server, it is the browser's responsibility to honor the restrictions

Websites cannot access each other’s data inside the browser thanks to the Same-Origin Policy


3 - Management

3.1 - Same

Two origins are said to be the same origin if the algorithm returns true.

3.2 - Remove

4 - Note

with Site Isolation (ie process isolation), it’s much more difficult for a malicious website to use speculative side-channel attacks like Spectre to steal data from other sites.

web/browser/same_origin.txt · Last modified: 2019/04/26 21:41 by