Link to home
Start Free TrialLog in
Avatar of indranil
indranil

asked on

accessing html user's LAN login name

Is it possible to access the user's login name using CGI? If not, can java applet or anything else do the same? What about the environment variables that HTML returns? How are they accessed using C++ CGI program?
ASKER CERTIFIED SOLUTION
Avatar of OM
OM

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of julio011597
julio011597

REMOTE_IDENT is only set when there is web server's access control _enabled_ (like on this site), and what you get is the user's login name related to - of course - web server's access control.

Also, since those who get REMOTE_IDENT are the same people who have set up an account for you, i cannot see it as being particularly against privacy.
Sorry Julio, but I cut and paste from HTTP/1.0 spec and
I confirm that REMOTE_IDENT if got from RFC931 indentifcation
system.
What you are refering to is REMOTE_USER :
REMOTE_USER

     If the server supports user authentication, and the script is protected, this is the username they have authenticated
     as.

(http://hoohoo.ncsa.uiuc.edu/cgi/env.html)

Me, i'm sorry OM, because i made you waste your time... i.e. you're right.
All right.But we are all waiting for indranil reaction :
either accept or reject the answer.