I've got an XML file on my server, and my partners have to access it via a javascript I'm coding.
It's working perfectly in local, but as soon as I do :
xmlDoc.async=false;
xmlDoc.load("/export/export.xml");
to
xmlDoc.load("http://www.something.com/export/export.xml");
It stopped working. I know that it's to avoid XSS attack, but there is no point in my case to develop that JS script if they cannot access to my XML file.
So, how to bypass such a limitation?