Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Secure ways to use DBI?

by Desdinova (Friar)
on Apr 17, 2003 at 20:47 UTC ( #251335=note: print w/replies, xml ) Need Help??


in reply to Secure ways to use DBI?

There have already been some great responses to this question, but taking it froma different angle, One thing I try to do is match the database user to the trust given to the outside web user. 95% of the people that access a dtabase in my apps are doing lookups. so I create the Database user that can only do lookups. that way if the password is given to the whole world they really can't do more than they can from the website.

If I need acces to things like deltes etc. I will require a user id an password to be input from the site (https page) then the password is not needed to be stored in the script.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2021-01-15 23:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?