ZenphotoCMS Forum
Prevent directory listing via htaccess - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Prevent directory listing via htaccess (/thread-12688.html)



Prevent directory listing via htaccess - Comodor125 - 2017-02-28

Some folders do not contain indexes, so the list of files contained in this folder may be displayed, which can be a gateway, a potential hacker flaw. To avoid this possibility, you can add this code to htaccess :

Options -Indexes




Prevent directory listing via htaccess - acrylian - 2017-02-28

That is not a flaw of Zenphoto but of the server used which should prohibit this serverside. You should contact your host.

Please avoid topic titles that look like you found a security issue. I have edited the topic title therefore. If you really think you find one you should contact us via mail first.