Monthly Archives: April 2017

Same Origin Policy and CORS

By | April 19, 2017

The same-origin policy (SOP) is an important security concept in browser. It  allows client-side programming languages, such as JavaScript, only access to resources in the same domain This means, a script cannot access data from html DOM elements, cookies or make XMLHttp requests to other domains. This is to prevent theft of data. Without it,… Read More »