Message passing and Cross-Origin Resource Sharing (CORS)

Web’s security model revolves around the same origin policy, meaning that a site having a domain http://www.example.com can send and receive scripts and resources from http://www.example.com or from www.*.example.com that is, either from the same domain, or a sub-domain of that domain. Same origin policy says that the two scripts or resource must be with the … Continue reading Message passing and Cross-Origin Resource Sharing (CORS)

Advertisements