Re: Basic Authentication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 12:51 PM -0500 1/14/09, Andrew Ballard wrote:
On Wed, Jan 14, 2009 at 12:36 PM, Stuart <stuttle@xxxxxxxxx> wrote:
 2009/1/14 tedd <tedd@xxxxxxxxxxxx>:
 Let's say that I don't want to use the htpasswd command from the UNIX shell
to generate an encoded password -- how else can I create an encoded password
 string that would work in a .htaccess file using basic authentication?

 AFAIK it's an MD5 hash, nothing more complicated than that.

 -Stuart


I think the last time I used basic authentication I just generated
passwords with crypt(). At that time, the hashes certainly weren't MD5
(I think they were only 13 characters), but based on the manual that
seems to be variable with the system anyway.

Andrew

Andrew:

Yeah, that's what I found as well -- it wasn't a MD5.

So basically my question is "What is it?"

Cheers,

tedd

--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux