Re: Basic Authentication
| From: | tedd | Date: | Wed, 14 Jan 2009 18:50:20 +0000 |
| Subject: | Re: Basic Authentication | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-286337@lists.php.net to get a copy of this message | ||
At 12:51 PM -0500 1/14/09, Andrew Ballard wrote:
On Wed, Jan 14, 2009 at 12:36 PM, Stuart <stuttle@gmail.com> wrote: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.com2009/1/14 tedd <tedd@sperling.com>: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. AndrewLet'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