Posted By

BrunoMonteiro on 02/12/10


Tagged

apache


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

atomicbutterfly


Password protected folder


 / Published in: Other
 

  1. Put in .htaccess file in the directory you are trying to protect:
  2.  
  3.  
  4. AuthType Basic
  5. AuthName "This Area is Password Protected"
  6. AuthUserFile /full/path/to/.htpasswd
  7. Require valid-user

Report this snippet  

You need to login to post a comment.