At 10:53 25/04/2001 +1200, Support Auckland wrote:
>This is unfortunately not possible, (why I've never known it would be a
>simple change to
>a web server to allow cgi scripts to handle authentication but we can' t
>implement it in
>the cgi without the web server supporting it, and as far as I know they don't)
Apache, as an example, uses password files similar to users.dat
(username:encryptedpassword) syntax.
Apache will pass the authenicated user as the environment string
REMOTE_USER. Ie, in Perl, you would use $ENV{'REMOTE_USER'} to read and
process the remote user's login name.
Regards,
d.