Results 1 to 4 of 4
Hi everyone
i have a question:
can i use unencrypted password in apache Authentication userfile?
i'm using basic authentication in my one of visual host but i need to place ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-17-2012 #1Just Joined!
- Join Date
- Jul 2012
- Posts
- 31
use unencrypted password for apache Authentication userfile
Hi everyone
i have a question:
can i use unencrypted password in apache Authentication userfile?
i'm using basic authentication in my one of visual host but i need to place unencrypted password in authentication user file.
by uncrypted i mean place username and password with this format :
for user : nimait70user:Password
and password : nimait :
not encrypted like :nimait70:nima
nimait70:PEj4m4jCVWrh2thanksnimait70:$apr1$SsxGLWb3$FzVvv4fipaezcBZd8aSiG0
- 12-17-2012 #2Trusted Penguin
- Join Date
- May 2011
- Posts
- 3,673
Hi,
Do you mean like using the "-p" (plaintext) option when using htpasswd to create your password file?
- 12-17-2012 #3Just Joined!
- Join Date
- Jul 2012
- Posts
- 31
look, i have a authentication user file that the users are stored in it.
users list is some thing like this :
but the apache will not authorize them unless they have encrypted password, somethings like this:tom:akbar
john:hjdjdjd
nima:kdfndjkfj
but i want apache to use first way authentication...how can i do that?tom:$apr1$Fwdpm9Bs$5JaEIPfnMrmdMwZ7REbKk1
john:$apr1$OXEdyeQ5$9JCYTxZhczAkmSOGKQ3gQ1
nima:$apr1$ZI0kmfrX$EwQLy19RGv5/xBOxywt7o0
- 12-17-2012 #4Trusted Penguin
- Join Date
- May 2011
- Posts
- 3,673
I am guessing that, if you created the password file using the "-p" option (or did it by hand), then, according to the htpasswd man page:
Code:-p Use plaintext passwords. Though htpasswd will support creation on all platforms, the httpd daemon will only accept plain text passwords on Windows, Netware and TPF.
Last edited by atreyu; 12-18-2012 at 02:34 AM. Reason: fixed code tags


Reply With Quote
