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

Comment on Re^4: Debugging cgi-bin script

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2015-10-09 16:26 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (245 votes), past polls