I was curious how I can hide the content of my XML files from internet users. Basically if I type in the url http://www.mysite.com/XML/file.xml, the content of that file is displayed in the browser. I do not want that to happen. How can I prevent that info from being loaded? Should I set permissions for that folder? Is there some other orocess I am unaware of to do this?
Use .htaccess to restrict access. That is a web hosting issue, so check with your web hosting company.