AI & the web
Same-origin policy
A browser security rule restricting interactions between resources from different origins.
In everyday use
A script on one site cannot freely read another site's private page.
What to keep in mind
An origin includes scheme, host and port; it is more specific than a brand name.
Also searched as:
Further reading
Original explanation and example by Perspectism. Further reading may cover the wider subject, rather than this exact wording. Edition updated 7 October 2026.
More in ai & the web
Page updated .