I have a directory on my host that i want to protect.
Users should not be able to access the files in the directory
by typing the url in the adress bar, but i should be able to
access them in my php-script.
I tried to use a .htaccess file but could not get it to work.
I also tried to place the directory above the WWW root, but there i
could not access them.
Any tips?
Thank you
Users should not be able to access the files in the directory
by typing the url in the adress bar, but i should be able to
access them in my php-script.
I tried to use a .htaccess file but could not get it to work.
I also tried to place the directory above the WWW root, but there i
could not access them.
Any tips?
Thank you
Comment