Not possible to access an XML-file from another server, is this true?
Moskog
Posts: 554
By going through some javascript-tutorials I read the following:
For security reasons, modern browsers do not allow access across domains.
This means, that both the web page and the XML file it tries to load, must be located on the same server
( http://www.w3schools.com/xml/xml_parser.asp )
Ok, so does this mean that If I load a web page located on a remote server, this page can not access an XML-file located on my Spinneret?
No possibilities at all?
For security reasons, modern browsers do not allow access across domains.
This means, that both the web page and the XML file it tries to load, must be located on the same server
( http://www.w3schools.com/xml/xml_parser.asp )
Ok, so does this mean that If I load a web page located on a remote server, this page can not access an XML-file located on my Spinneret?
No possibilities at all?
Comments
http://enable-cors.org/
Edit: This only applies to browsers. If you have server side code that pulls the XML file then there is no CORS to worry about.