security - Irretrievably destroying data in Java -
is there anyway in java delete data (e.g., variable value, object) , sure can't recovered memory? assigning null
variable in java delete value memory? ideas? answers applicable other languages acceptable.
due wonders virtual memory, impossible delete memory in irretrievable manner. best bet 0 out value fields; however:
- this not mean old (unzeroed) copy of object won't left on unused swap page, persist across reboots.
- neither stop attaching debugger application , poking around before object gets zeroed or crashing vm , poking around in heap dump.
Comments
Post a Comment