3 ms·
cross domain xmlhttprequests? Is this wise?
by zaphar 17y ago
cross domain xmlhttprequests? Is this wise?
- user24 17y agoOnly supported if the server you're requesting to sets an "Access-Control-Allow-Origin" HTTP header specifying that the referer is allowed. You cannot change the referer via JS. If that header is not set, the browser denies the request. It's very well thought out I think. https://developer.mozilla.org/En/HTTP_access_control https://developer.mozilla.org/En/HTTP_access_control