Posted By

luizlopes on 07/02/08


Tagged

htaccess security chmod 777


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

kubaitis


Prevent Access to multiple file types


 / Published in: Apache
 

This is good to add to folders which are chmod to 777.

  1. <FilesMatch "\.(htaccess|htpasswd|php|html|asp|aspx|htm|cgi|pl|php4)$">
  2. Order Allow,Deny
  3. Deny from all
  4. </FilesMatch>

Report this snippet  

You need to login to post a comment.