- #1
Paul Uszak
- 84
- 7
Let a file on disc comprise the bytes "Hello World".
If I open the file in Java as a RandomAccessFile and write the character "X" over it from the start of the file to it's end, will the original disc block be overwritten? Or, will the original block containing "Hello World" be marked as unused, and another block written as "Xello World" and so forth till a final block is written containing "XXXXXXXXXXX"?
Is it possible to do secure deletion entirely in Java? (...I'm aware of secure deletion programs)
If I open the file in Java as a RandomAccessFile and write the character "X" over it from the start of the file to it's end, will the original disc block be overwritten? Or, will the original block containing "Hello World" be marked as unused, and another block written as "Xello World" and so forth till a final block is written containing "XXXXXXXXXXX"?
Is it possible to do secure deletion entirely in Java? (...I'm aware of secure deletion programs)