MOO-cows Mailing List Archive
Re: HTTP/1.0 Authentication
Date: Fri, 29 Nov 1996 20:36:57 PST
From: "Xander Holkner" <firstname.lastname@example.org>
Content-Type: text/plain; charset=ISO-8859-1
> Did anyone of you out there implement HTTP's Basic Authentication
> scheme in MOO object ?
Yeah, I did on EdMOO, which is not yet online (we're still fixing it up).
> I know that MOO uses 'crypt()' to encrypt the password. However,
> does not work with HTTP's Basic Authentication.
The HTTP Basic Authentication is encrypted as Base64, and decrypts to be
'username:password'. I've actually written some code that does this
decryption, as well as code to get the web browser to ask for the username
and password. It all works really well.
If you'd like the code, please email me (if I get lots of requests I'll
post it to the list instead).
Subject Index |