When user enter the plugin or template folder path to browser, than this direcory index is showing:
Example
http://xxx.com/plugins
http://xxx.com/templates
http://xxx.com/plugins/underConstructions/
I know, I prevent this adding a .htaccess or blank index.html page in every folders. But many folders have. Any short way prevent this?
---------------------------------------------------------------------------------------------------
EDİT:
OK I found solution.
I added this line to .htaccess file (I hope to no encounter a problem)
Also I added to this line for prevent some files direct access (I hope to no encounter a problem)# Prevent Directoy listing
Options -Indexes
# Prevent Direct Access to files
<FilesMatch "\.(tpl|ini|log|xml)">
Order deny,allow
Deny from all
</FilesMatch>