Right now im using .htaccess to hide certain folders from being viewed by visitors using
"Options -Indexes"
If I user types www.mysite.com/foldername/ a error page gets displayed which I want, but how can I make sure users cant see the files themself in those folders?
Eg: www.mysite.com/ajax/file.php show if the user types that in, but www.mysite.com/ajax/ will show a error page.
How can I make sure users cant view single files in folders? I have a few files in my ajax folder and also my /functions/ folder that I dont want users being able to see
Thanks in advance