Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

getting who logged on with using basic auth

by dswimboy (Initiate)
on Aug 15, 2002 at 21:50 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2024-04-16 19:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found