Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

getting who logged on with using basic auth

by dswimboy (Initiate)
on Aug 15, 2002 at 21:50 UTC ( #190538=perlquestion: print w/replies, xml ) Need Help??

dswimboy has asked for the wisdom of the Perl Monks concerning the following question: (cgi programming)

I am using Apache's htaccess to password protect directories. is there a way for my perl script to find out the username of who is logged on?

Originally posted as a Categorized Question.

  • Comment on getting who logged on with using basic auth

Replies are listed 'Best First'.
Re: getting who logged on with using basic auth
by merlyn (Sage) on Aug 15, 2002 at 22:22 UTC
    It's in $ENV{REMOTE_USER}.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://190538]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2021-09-28 01:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?