Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Authentication and DBI

by Anonymous Monk
on Aug 26, 2001 at 12:01 UTC ( [id://107903]=perlquestion: print w/replies, xml ) Need Help??

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi, A very basic doubt abt authentiction in perl. I am using DBI to connect to the oracle database and now am going in for a authentication box where in by typing in the username and passwoird i shud allow the user to enter. The entries of username and password are in the user table in Oracel database. Basically i need to know about authentication that can be done in these kinda sceneriao. Can u please help me out. Thanks,

Replies are listed 'Best First'.
Re: Authentication
by echo (Pilgrim) on Aug 26, 2001 at 14:46 UTC
    Is this in a web/CGI context? If so, have a look at mod_auth_oracle. If not, you might still draw good ideas/code from that module.
Re: Authentication
by blakem (Monsignor) on Aug 26, 2001 at 15:51 UTC
    Its really tough to answer your question w/o more information. Assuming you are in a CGI/mod_perl/apache environment, I would highly recommend Lincoln Stein's book Writing Apache Modules in Perl which discusses all the nifty things you can do in during the authorization/authenticaion phases. This includes connecting to a backend database and granting access based on a login and password combo.

    -Blake

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2024-04-20 00:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found