Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Mimicking htaccess user authentication

by Cubes (Pilgrim)
on Aug 02, 2001 at 14:47 UTC ( [id://101622]=note: print w/replies, xml ) Need Help??


in reply to Mimicking htaccess user authentication

You can find out all about HTTP authentication in RFC 2617. You can find the user's authentication info in the HTTP header fields of their request after your "Unauthorized" response status.

CGI.pm has an http() function which should allow you to grab arbitrary headers from the request.

  • Comment on Re: Mimicking htaccess user authentication

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2024-09-18 10:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (24 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.