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

Re: CGI script cannot create file.

by GrandFather (Sage)
on Dec 18, 2012 at 21:31 UTC ( #1009453=note: print w/replies, xml ) Need Help??


in reply to CGI script cannot create file.

Actually, don't store passwords at all. Instead store a hash of the salted password (md5 is ok, but see http://crackstation.net/hashing-security.htm) then match the password hash against the hash of the entered salted password. And then use the security tips offered above for storing the password hashes.

True laziness is hard work

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1009453]
help
Chatterbox?
shmem serves tea along with the cookies. (☕) x @CBMonks
[shmem]: hmm.. which makes emerge the question: is there a way to attach a subroutine to a variable, which is run as soon as that variable changes?
[moritz]: through a tie?
[shmem]: moritz: of course!
shmem slaps forehead m(
[shmem]: consider, then, @CBMonks as a tied variable which triggers withdrawing empty cups and serving new ones

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (10)
As of 2017-04-24 12:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (439 votes). Check out past polls.