Hello guys! I am having problem that everybody could access my sites folder. Example is: mydomain.com/files they can easily browse the files under it. How can I limit them from doing that? telling. Forbidden. Thank you very much and Happy New Year!
You can solve this problem by using .htaccess file. References: http://zoo.yootheme.com/documentation/item/root/how-to-protect-files-using-the-download-element-and-htaccess Code (markup): http://corz.org/serv/tricks/htaccess.php Code (markup): Just create the .txt file with the things to block and upload to your host and then rename to .htaccess I hope this would helpful to solve your issue.
Easy way to hide everything, place this in your .htaccess file: IndexIgnore *.* That will ignore all files when an index is requested.