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

Authentication and DBI

by Anonymous Monk
on Aug 26, 2001 at 12:01 UTC ( #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
Node Status?
node history
Node Type: perlquestion [id://107903]
Approved by root
help
Chatterbox?
[shmem]: perldigious: as always - if it ain't broke, don't fix it. Ther must be a very compelling reason for changing column names in a database. Those are rare.
[Corion]: If you have whitespace in the column names in the database, whap the DBAs ;)
[shmem]: It's common for some vendors to have column names such as WRSTVG or some other such whizzbang, and another table where these names are mapped to something meaningful depending on how you look at the data
[shmem]: afair in SAP that occurs all the time

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (11)
As of 2017-05-25 13:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?