Hi,
I am using this lines in .htaccess to protect a access to a file:
<Files something.xml>
order deny,allow
deny from all
</Files>
but when my javascript code tries to open this file it fails to open. It seems that the file is protected for my code on my server. How can I protect a file from users to be able to see content of it on their browser but make free access for my code on the web server?
Thanks in advance for your help,
D.
I am using this lines in .htaccess to protect a access to a file:
<Files something.xml>
order deny,allow
deny from all
</Files>
but when my javascript code tries to open this file it fails to open. It seems that the file is protected for my code on my server. How can I protect a file from users to be able to see content of it on their browser but make free access for my code on the web server?
Thanks in advance for your help,
D.