# HTTP/1.0 Authentication

"Xander Holkner" (xander@edx1.educ.monash.edu.au)
Fri, 29 Nov 1996 20:36:57 PST

- Messages sorted by:[ date ][ thread ][ subject ][ author ]

    > 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,
    it
    > 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,
    Xander