Find the answer to your Linux question:
Results 1 to 2 of 2
I want to use mod_auth_mysql for my login on my apache webserver. Specifically I want to set AuthMySQLPwEncryption with sha1. When I add a new user/password to the database, to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2013
    Location
    New Jersey
    Posts
    41

    mod_auth_mysql


    I want to use mod_auth_mysql for my login on my apache webserver. Specifically I want to set AuthMySQLPwEncryption with sha1. When I add a new user/password to the database, to I need to encrypt it first?

  2. #2
    Just Joined!
    Join Date
    Sep 2012
    Location
    Nashville, TN
    Posts
    97
    I believe that when you add a user to mysql, it does the encryption for you. But if you created your own users table then you will want to use either sha1() / (or sha2() for even more security) or md5() functions when entering a user/password into the database.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •