René's URL Explorer Experiment


Title: Same-origin policy - Security | MDN

Open Graph Title: Same-origin policy - Security | MDN

Description: The same-origin policy is a critical security mechanism that restricts how a document or script loaded by one origin can interact with a resource from another origin.

Open Graph Description: The same-origin policy is a critical security mechanism that restricts how a document or script loaded by one origin can interact with a resource from another origin.

Opengraph URL: https://developer.mozilla.org/en-US/docs/Web/Security/Defenses/Same-origin_policy

direct link

Domain: developer.mozilla.org

og:localeen_US
og:imagehttps://developer.mozilla.org/mdn-social-share.d893525a4fb5fb1f67a2.png
og:image:typeimage/png
og:image:height1080
og:image:width1920
og:image:altThe MDN Web Docs logo, featuring a blue accent color, displayed on a solid black background.
og:site_nameMDN Web Docs
twitter:cardsummary_large_image
twitter:creatorMozDevNet
position4

Links:

Skip to main contenthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Same_origin_policy_for_JavaScript#content
Skip to searchhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Same_origin_policy_for_JavaScript#search
MDN https://developer.mozilla.org/en-US/
HTML: Markup languagehttps://developer.mozilla.org/en-US/docs/Web/HTML
Elementshttps://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements
Global attributeshttps://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes
Attributeshttps://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes
See all…https://developer.mozilla.org/en-US/docs/Web/HTML/Reference
Responsive imageshttps://developer.mozilla.org/en-US/docs/Web/HTML/Guides/Responsive_images
HTML cheatsheethttps://developer.mozilla.org/en-US/docs/Web/HTML/Guides/Cheatsheet
Date & time formatshttps://developer.mozilla.org/en-US/docs/Web/HTML/Guides/Date_and_time_formats
See all…https://developer.mozilla.org/en-US/docs/Web/HTML/Guides
SVGhttps://developer.mozilla.org/en-US/docs/Web/SVG
MathMLhttps://developer.mozilla.org/en-US/docs/Web/MathML
XMLhttps://developer.mozilla.org/en-US/docs/Web/XML
CSS: Styling languagehttps://developer.mozilla.org/en-US/docs/Web/CSS
Propertieshttps://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties
Selectorshttps://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors
At-ruleshttps://developer.mozilla.org/en-US/docs/Web/CSS/Reference/At-rules
Valueshttps://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values
See all…https://developer.mozilla.org/en-US/docs/Web/CSS/Reference
Box modelhttps://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Box_model/Introduction
Animationshttps://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Animations/Using
Flexboxhttps://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Flexible_box_layout/Basic_concepts
Colorshttps://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Colors/Applying_color
See all…https://developer.mozilla.org/en-US/docs/Web/CSS/Guides
Column layoutshttps://developer.mozilla.org/en-US/docs/Web/CSS/How_to/Layout_cookbook/Column_layouts
Centering an elementhttps://developer.mozilla.org/en-US/docs/Web/CSS/How_to/Layout_cookbook/Center_an_element
Card componenthttps://developer.mozilla.org/en-US/docs/Web/CSS/How_to/Layout_cookbook/Card
See all…https://developer.mozilla.org/en-US/docs/Web/CSS/How_to/Layout_cookbook
JavaScript: Scripting languagehttps://developer.mozilla.org/en-US/docs/Web/JavaScript
Standard built-in objectshttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects
Expressions & operatorshttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators
Statements & declarationshttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements
Functionshttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions
See all…https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference
Control flow & error handinghttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Control_flow_and_error_handling
Loops and iterationhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Loops_and_iteration
Working with objectshttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Working_with_objects
Using classeshttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_classes
See all…https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide
Web APIs: Programming interfaceshttps://developer.mozilla.org/en-US/docs/Web/API
File system APIhttps://developer.mozilla.org/en-US/docs/Web/API/File_System_API
Fetch APIhttps://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
Geolocation APIhttps://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API
HTML DOM APIhttps://developer.mozilla.org/en-US/docs/Web/API/HTML_DOM_API
Push APIhttps://developer.mozilla.org/en-US/docs/Web/API/Push_API
Service worker APIhttps://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API
See all…https://developer.mozilla.org/en-US/docs/Web/API
Using the Web animation APIhttps://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API/Using_the_Web_Animations_API
Using the Fetch APIhttps://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch
Working with the History APIhttps://developer.mozilla.org/en-US/docs/Web/API/History_API/Working_with_the_History_API
Using the Web speech APIhttps://developer.mozilla.org/en-US/docs/Web/API/Web_Speech_API/Using_the_Web_Speech_API
Using web workershttps://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers
All web technologyhttps://developer.mozilla.org/en-US/docs/Web
Accessibilityhttps://developer.mozilla.org/en-US/docs/Web/Accessibility
HTTPhttps://developer.mozilla.org/en-US/docs/Web/HTTP
URIhttps://developer.mozilla.org/en-US/docs/Web/URI
Web extensionshttps://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions
WebAssemblyhttps://developer.mozilla.org/en-US/docs/WebAssembly
WebDriverhttps://developer.mozilla.org/en-US/docs/Web/WebDriver
See all…https://developer.mozilla.org/en-US/docs/Web
Mediahttps://developer.mozilla.org/en-US/docs/Web/Media
Performancehttps://developer.mozilla.org/en-US/docs/Web/Performance
Privacyhttps://developer.mozilla.org/en-US/docs/Web/Privacy
Securityhttps://developer.mozilla.org/en-US/docs/Web/Security
Progressive web appshttps://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps
Learn web developmenthttps://developer.mozilla.org/en-US/docs/Learn_web_development
Getting started moduleshttps://developer.mozilla.org/en-US/docs/Learn_web_development/Getting_started
Core moduleshttps://developer.mozilla.org/en-US/docs/Learn_web_development/Core
MDN Curriculumhttps://developer.mozilla.org/en-US/curriculum/
Structuring content with HTML modulehttps://developer.mozilla.org/en-US/docs/Learn_web_development/Core/Structuring_content
CSS styling basics modulehttps://developer.mozilla.org/en-US/docs/Learn_web_development/Core/Styling_basics
CSS layout modulehttps://developer.mozilla.org/en-US/docs/Learn_web_development/Core/CSS_layout
Dynamic scripting with JavaScript modulehttps://developer.mozilla.org/en-US/docs/Learn_web_development/Core/Scripting
Playgroundhttps://developer.mozilla.org/en-US/play
HTTP Observatoryhttps://developer.mozilla.org/en-US/observatory
Border-image generatorhttps://developer.mozilla.org/en-US/docs/Web/CSS/CSS_backgrounds_and_borders/Border-image_generator
Border-radius generatorhttps://developer.mozilla.org/en-US/docs/Web/CSS/CSS_backgrounds_and_borders/Border-radius_generator
Box-shadow generatorhttps://developer.mozilla.org/en-US/docs/Web/CSS/CSS_backgrounds_and_borders/Box-shadow_generator
Color format converterhttps://developer.mozilla.org/en-US/docs/Web/CSS/CSS_colors/Color_format_converter
Color mixerhttps://developer.mozilla.org/en-US/docs/Web/CSS/CSS_colors/Color_mixer
Shape generatorhttps://developer.mozilla.org/en-US/docs/Web/CSS/CSS_shapes/Shape_generator
About MDNhttps://developer.mozilla.org/en-US/about
Advertise with ushttps://developer.mozilla.org/en-US/advertising
Communityhttps://developer.mozilla.org/en-US/community
MDN on GitHubhttps://github.com/mdn
Bloghttps://developer.mozilla.org/en-US/blog/
Webhttps://developer.mozilla.org/en-US/docs/Web
Securityhttps://developer.mozilla.org/en-US/docs/Web/Security
Defenseshttps://developer.mozilla.org/en-US/docs/Web/Security/Defenses
Same-origin policyhttps://developer.mozilla.org/en-US/docs/Web/Security/Defenses/Same-origin_policy
https://github.com/orgs/mdn/discussions/739
https://developer.mozilla.org/de/docs/Web/Security/Defenses/Same-origin_policy
https://developer.mozilla.org/en-US/docs/Web/Security/Defenses/Same-origin_policy
https://developer.mozilla.org/es/docs/Web/Security/Defenses/Same-origin_policy
https://developer.mozilla.org/fr/docs/Web/Security/Defenses/Same-origin_policy
https://developer.mozilla.org/ja/docs/Web/Security/Defenses/Same-origin_policy
https://developer.mozilla.org/ko/docs/Web/Security/Defenses/Same-origin_policy
https://developer.mozilla.org/ru/docs/Web/Security/Defenses/Same-origin_policy
https://developer.mozilla.org/zh-CN/docs/Web/Security/Defenses/Same-origin_policy
https://developer.mozilla.org/zh-TW/docs/Web/Security/Defenses/Same-origin_policy
originhttps://developer.mozilla.org/en-US/docs/Glossary/Origin
Definition of an originhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Same_origin_policy_for_JavaScript#definition_of_an_origin
Changing originhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Same_origin_policy_for_JavaScript#changing_origin
Cross-origin network accesshttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Same_origin_policy_for_JavaScript#cross-origin_network_access
Cross-origin script API accesshttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Same_origin_policy_for_JavaScript#cross-origin_script_api_access
Cross-origin data storage accesshttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Same_origin_policy_for_JavaScript#cross-origin_data_storage_access
See alsohttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Same_origin_policy_for_JavaScript#see_also
Definition of an originhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Same_origin_policy_for_JavaScript#definition_of_an_origin
protocolhttps://developer.mozilla.org/en-US/docs/Glossary/Protocol
porthttps://developer.mozilla.org/en-US/docs/Glossary/Port
hosthttps://developer.mozilla.org/en-US/docs/Glossary/Host
Inherited originshttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Same_origin_policy_for_JavaScript#inherited_origins
javascript: URLhttps://developer.mozilla.org/en-US/docs/Web/URI/Reference/Schemes/javascript
Window.open()https://developer.mozilla.org/en-US/docs/Web/API/Window/open
File originshttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Same_origin_policy_for_JavaScript#file_origins
CORShttps://developer.mozilla.org/en-US/docs/Glossary/CORS
URL specificationhttps://url.spec.whatwg.org/#origin
security implicationshttps://www.mozilla.org/en-US/security/advisories/mfsa2019-21/#CVE-2019-11730
Changing originhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Same_origin_policy_for_JavaScript#changing_origin
document.domainhttps://developer.mozilla.org/en-US/docs/Web/API/Document/domain
document.domainhttps://developer.mozilla.org/en-US/docs/Web/API/Document/domain
document.domainhttps://developer.mozilla.org/en-US/docs/Web/API/Document/domain
DOMExceptionhttps://developer.mozilla.org/en-US/docs/Web/API/DOMException