Posted By

neoandroid on 01/19/11


Tagged

htaccess security


Versions (?)

http auth via mysql


 / Published in: Apache
 

  1. AuthMYSQL on
  2. AuthMySQL_Authoritative on
  3. AuthMySQL_DB database_name
  4. AuthMySQL_Password_Table table_name
  5. AuthMySQL_Group_Table table_name
  6. AuthMySQL_Empty_Passwords off
  7. AuthMySQL_Encryption_Types Plaintext Crypt_DES MySQL
  8. #Auth_MySQL_Username_Field username
  9. #Auth_MySQL_Password_Field passwd
  10. #Auth_MySQL_Group_Field groups
  11. #Auth_MySQL_Group_User_Field username
  12.  
  13. AuthUserFile /dev/null
  14. AuthBasicAuthoritative Off
  15. AuthName "Private Zone"
  16. AuthType Basic
  17.  
  18. <Limit GET POST>
  19. require group example_group
  20. # require valid-user
  21. </Limit>

Report this snippet  

You need to login to post a comment.