Difficulty: Intermediate
What defines an 'Origin' in the Same-Origin Policy?
The combination of the **Protocol** (http/https), **Host** (domain), and **Port**.
Browser Security, Origins
JavaScript is required for the interactive version of this page, including the code playground and progress tracking. Browse all InternHack tutorials.