Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Is data in RAM insecure, or am I just paranoid?

by lhoward (Vicar)
on Jul 16, 2004 at 12:49 UTC ( #374982=note: print w/ replies, xml ) Need Help??


in reply to Re: Is data in RAM insecure, or am I just paranoid?
in thread Is data in RAM insecure, or am I just paranoid?

Data in RAM isn't as secure as it seems. Even if you never store a piece of data on disk it can end up on disk as part of your swapfile for months and years if the page in memory its in happens to be swapped out. Perl variables (I believe) also do not guarantee erasure. Even simply reassigning the value of a variable or undefing it does not guarantee that its previous value is gone from memory. This problem just gets worse when you're dealing with more complicated perl constructs (hashes and arrays)

$a=qw{foo}; $a=qw{bar};
"foo" may still exist in memory somewhere L


Comment on Re^2: Is data in RAM insecure, or am I just paranoid?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2014-12-28 19:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (182 votes), past polls