Re: CGI and REMOTE_USER

George Phillips (phillips@cs.ubc.ca)
18 Jan 94 13:53 -0800


Well, you could set AUTH_TYPE to RFC931 and REMOTE_USER to the
string returned by the ident daemon but that would be wrong.
While many ident daemons return the user name, that is not
a requirement.

How about sticking the ident daemon response into an environment
variable like REMOTE_IDENT. You should base64 or otherwise
encode it in case it contains binary data which can be a headache
for shell CGI scripts and even C CGI programs can't handle nulls.

-- George