Definition of Same Origin Policy
Brief Description of Same Origin Policy
The Same origin Policy (SOP) is a security mechanism that is used by website programmers to secure their sensitive information. It also avoids malware and other scripts that enter from a compromised site and interact with other websites that have no security measures and exposed to attackers that may lead to malware infections. It can also be used as a preventive measure for scripts or documents on one origin from being set from the other.