Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

using SHA or MD5 passwords in password file

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Hot links  
Author Message
_nospam_stiger

External


Since: Oct 23, 2003
Posts: 11



(Msg. 1) Posted: Wed Jan 14, 2004 5:55 pm
Post subject: using SHA or MD5 passwords in password file
Archived from groups: alt>apache>configuration (more info?)

hi

using the authentication system in apache, i saw that one can create SHA
or MD5 passwords with htpasswd.

i tried this, but then i could not log in to the protected pages.
AuthType is set to Basic in the configuration, should this be changed
perhaps?

stig

 >> Stay informed about: using SHA or MD5 passwords in password file 
Back to top
Login to vote
x33159

External


Since: Jan 13, 2004
Posts: 23



(Msg. 2) Posted: Wed Jan 14, 2004 7:26 pm
Post subject: Re: using SHA or MD5 passwords in password file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"stig" <_nospam_stigerikson DeleteThis @yahoo.se> wrote in message
news:bu3hkh$73b$1@oden.abc.se...
 > hi
 >
 > using the authentication system in apache, i saw that one can create SHA
 > or MD5 passwords with htpasswd.
 >
 > i tried this, but then i could not log in to the protected pages.
 > AuthType is set to Basic in the configuration, should this be changed
 > perhaps?
 >
 > stig

No, I don't think it has to be changed. I use it on a system (XP, Apache
2.0.48, PHP4.3.4) and it works without changes. BTW, on XP apparantly MD5 is
used by default.

Have you got the right .htaccess in place (in the directory you want to use
authentication for)?

Mine looks like this:

AuthType Basic
AuthUserFile "c:/webroot/private/.htpasswd"
AuthGroupFile /dev/null
AuthName "Members Area"
<Limit GET>
require valid-user
</Limit>

(Thanks to <a style='text-decoration: underline;' href="http://www.scriptsharks.com/articles/htaccess.php," target="_blank">http://www.scriptsharks.com/articles/htaccess.php,</a> where I found
it. Also find there where to set the AllowOverride None clause in
httpd.conf)

Good luck!
jan

--
Microsoft humor ? <a style='text-decoration: underline;' href="http://eniac.xs4all.nl/cannot.html" target="_blank">http://eniac.xs4all.nl/cannot.html</a><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: using SHA or MD5 passwords in password file 
Back to top
Login to vote
_nospam_stiger

External


Since: Oct 23, 2003
Posts: 11



(Msg. 3) Posted: Wed Jan 14, 2004 9:05 pm
Post subject: Re: using SHA or MD5 passwords in password file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Jan Soldaat wrote:
 > "stig" <_nospam_stigerikson DeleteThis @yahoo.se> wrote in message
 > news:bu3hkh$73b$1@oden.abc.se...
 >
  >>hi
  >>
  >>using the authentication system in apache, i saw that one can create SHA
  >>or MD5 passwords with htpasswd.
  >>
  >>i tried this, but then i could not log in to the protected pages.
  >>AuthType is set to Basic in the configuration, should this be changed
  >>perhaps?
  >>
  >>stig
 >
 >
 > No, I don't think it has to be changed. I use it on a system (XP, Apache
 > 2.0.48, PHP4.3.4) and it works without changes. BTW, on XP apparantly MD5 is
 > used by default.
 >
 > Have you got the right .htaccess in place (in the directory you want to use
 > authentication for)?
 >
 > Mine looks like this:
 >
 > AuthType Basic
 > AuthUserFile "c:/webroot/private/.htpasswd"
 > AuthGroupFile /dev/null
 > AuthName "Members Area"
 > <Limit GET>
 > require valid-user
 > </Limit>
 >
 > (Thanks to <a style='text-decoration: underline;' href="http://www.scriptsharks.com/articles/htaccess.php," target="_blank">http://www.scriptsharks.com/articles/htaccess.php,</a> where I found
 > it. Also find there where to set the AllowOverride None clause in
 > httpd.conf)
 >
 > Good luck!
 > jan
 >
 > --
<font color=purple> > Microsoft humor ? <a style='text-decoration: underline;' href="http://eniac.xs4all.nl/cannot.html</font" target="_blank">http://eniac.xs4all.nl/cannot.html</font</a>>
 >
 >

i had it right, but someting in my password file must have been bad,
created a new and the MD5-passwords are working fine now, but i cannot
get the SHA-passwords working. well, well MD5 will do just fine.
stig<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: using SHA or MD5 passwords in password file 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Excluding a single file from .htaccess password protection? - Hi, I've added .htaccess password protection to my web site for various reasons. However, I think it would be nice to have a welcome page that's accessible to everyone. Is there any way to exclude a single file (ie, index.html) from being protected...

passwords - Does anyone know where I can download the php_crypt.dll file? I am using Apache with php 4.0 and I am testing a site which requires a password. (I know it is OK on another hosted site) I keep getting the message: Warning: crypt() is not supported in...

WAP with password - Hi, currently I make a WAP-Site, and I want to secure some pages. I do this with ".htpasswd". My mobile-phone (Siemens S45) seems to be very stupid, because the WAP-Browser on it doesn't remeber the pages, which are password-secure. And all ...

password protection - Hi all, I try to make a folder of my webserver protected by a password using ..htaccess ... Here is my .htaccess file : AuthUserFile /cca/www/htdocs/phpMyAdmin/.htpasswd AuthGroupFile /dev/null AuthName "Restricted Directory" AuthType Basic ...

Need to enter password twice. - Hi and thanks for your help. Every time I go to my web site it requires me to log in twice. I have been to the apache web site; http://www.apache.org/docs/misc/FAQ.html#prompted-twice but still can't seem to get it working. I have a Slackware 9.0..
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]