DictionaryAI

same-origin policy

Short definition from Wiktionary

Noun

  1. A rule, in web browsers, that permits scripts contained in a first web page to access data in a second web page, but only if both web pages have the same origin (based on URI scheme, hostname, and port number), so as to prevent malicious scripts from accessing sensitive data through the Document Object Model.

We haven’t written up same-origin policy yet: Simple and Standard meanings, examples and a quiz.