Is it feasible to retrieve a secure XML file through an AJAX call? I currently have the following code that successfully retrieves the xml file:
function loadXMLFile() {
var filename = 'test.xml';
$.ajax({
type: "GET",
url: filename,
dataType: "xml",
success: parseXML,
error: Fail
});
}
By secure, I mean preventing users from accessing the xml file directly through their browser.