Same Origin Policy
Intro SOP restricts how a document or script loaded from one origin can interact with resource from another origin (cross domain traffic)
Implemented in the Browser
Policies are applied in the Background without User interaction required
Restrict access to:
DOM Cookies WebStorage Local Storage Session Storage IndexedDB Restrict Components
Javascript API XMLhttpRequest (XHR), Fetch API Flash (t 2020) … Applets, Silverlight, XDomainRequest How it Works SOP = Protocol = https = Hostname = www.