|The Unix and Internet Fundamentals HOWTO, by Eric Raymond|
|The Web Origin Concept||Search for a title, author or keyword|
The Web Origin Concept
RFC ( Request for Comments ) 6454, December 2011, A. Barth. User agents interact with content created by a large number of authors. Although many of those authors are well-meaning, some authors might be malicious. To the extent that user agents undertake actions based on content they process, user agent implementors might wish to restrict the ability of malicious authors to disrupt the confidentiality or integrity of other content or servers. As an example, consider an HTTP user agent that renders HTML content retrieved from various servers. If the user agent executes scripts contained in those documents, the user agent implementor might wish to prevent scripts retrieved from a malicious server from reading documents stored on an honest server, which might, for example, be behind a firewall. Traditionally, user agents have divided content according to its "origin". More specifically, user agents allow content retrieved from one origin to interact freely with other content retrieved from that origin, but user agents restrict how that content can interact with content from another origin. This document describes the principles behind the so-called same- origin policy as well as the "nuts and bolts" of comparing and serializing origins.
|The Web Origin Concept||Disclaimer: this link points to content provided by other sites.|