Same Origin Policy

Why Trust Techopedia

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.

Advertisements

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.

Advertisements

Related Terms

Margaret Rouse
Technology expert
Margaret Rouse
Technology expert

Margaret is an award-winning writer and educator known for her ability to explain complex technical topics to a non-technical business audience. Over the past twenty years, her IT definitions have been published by Que in an encyclopedia of technology terms and cited in articles in the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine, and Discovery Magazine. She joined Techopedia in 2011. Margaret’s idea of ​​a fun day is to help IT and business professionals to learn to speak each other’s highly specialized languages.