Cross domain error

What is a cross-domain error?

+3
source share
3 answers

As I understand it, client tools like Silverlight (and possibly Flash / Javascript) cause a cross-domain error when you try to connect to a server, which is usually only allowed when it is created for the same domain to which it was sent Page (some origin policy).

A cross-domain error can occur, for example, when you view a page on your test server, when it tries to call your live server, or when you view a test page as a local file using the file: // protocol.

, , , , . , Flash crossdomain.xml, . Javascript , , .

+3

, Javascript ( ) , .

, cookie , . XMLHTTP (HTTP > HTTPS), . , , , .

, .

+4

Check out this article. This should give you an idea of ​​how the cross-domain registration script works.

https://developer.mozilla.org/En/HTTP_access_control

0
source

Source: https://habr.com/ru/post/1705768/


All Articles