The Same-Origin Policy is a critical browser security mechanism that restricts how a document or script loaded from one origin can interact with resources from other origins. It helps prevent malicious sites from reading sensitive data from other websites. The policy considers two URLs to have the same origin if they share the same protocol, host, and port number.
You might also be looking for