Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re^4: Debugging cgi-bin script

by Anonymous Monk
on Jan 06, 2013 at 09:10 UTC ( #1011856=note: print w/replies, xml ) Need Help??

in reply to Re^3: Debugging cgi-bin script
in thread Debugging cgi-bin script

Designing your own random number generator in a high-level language is a terrible, terrible idea.

:) FWIW, merlyn didn't design it, he copied from the fallback Apache::Session::Generate::MD5

I don't know from entrophy and randomness, but this isn't encryption we're dealing with, no authentication or authorization, no financial transactions -- if the attacker has access to the application, guessing doesn't get him anything he didn't already have access to

You might like Re^3: Randomness encountered with CGI Session where afoken talks bits

FYI/FMI Session::Token - Portable, secure, efficient, simple random session token generation that satisfies those OWASP recommendations

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1011856]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2017-06-25 15:12 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (567 votes). Check out past polls.