Same Origin Policy Cross-Origin Communication

suggest change

Introduction

Browsers use the same-origin policy to stop a script from reading a document or response from another origin. A page can still load a cross-origin image or script. It cannot read that response as data.

Two URLs have the same origin when the scheme, host, and port match. An omitted port is the scheme’s default, so http://example.com and http://example.com:80 are the same origin.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents