MOO-cows Mailing List Archive


Re: HTTP/1.0 Authentication

> Hi,
>         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).

Happy MOOing,


Home | Subject Index | Thread Index