Sorry for my bad english :)
I've a question.
How can i block with an error page, or redirect an user that is trying to access subfolders, in my website? I don't need password protected folders but just a displayed error for all subfolders.
Example:
www.mysite.com/folder - this folder content should not be visible to users
This is a simple solution without editing the .htaccess file.
Create a new index.html or index.php file in your folder and write these line on the body.
In PHP:
In HTML:
From this way you can block
folder
folder and other folders you wish to deny access easily. I don't know still can hackers bypass this files but this is the simple solution. Try this and see the answers for yourself.