Same Origin Policy

What Does Same Origin Policy Mean?

Same origin policy (SOP) is a security mechanism in a client browser that permits webpage scripts to access their associated website’s data and methods but restricts its access to scripts and data stored by other websites.


Techopedia Explains Same Origin Policy

Same origin policy is a common feature found in most client scripting languages and their created applications that relyon HTTP cached cookies for user authentication, access control and other security related tasks. Same origin policy is designed to ensure that separate website scripts and applications do not interfere with the access control credentials of other websites.

The origin in this policy relates to the evaluation of top level domain name, application protocol, port number, and some browser specific considerations. It is generally applicable to all the websites, scripts, applications services, etc that require the browser to maintain user sessions.


Related Terms

Latest Cloud Computing Terms

Related Reading

Margaret Rouse

Margaret Rouse is an award-winning technical writer and teacher known for her ability to explain complex technical subjects to a non-technical, business audience. Over the past twenty years her explanations have appeared on TechTarget websites and she's been cited as an authority in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine and Discovery Magazine.Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages. If you have a suggestion for a new definition or how to improve a technical explanation, please email Margaret or contact her…