Thread: SecureOverwrite
View Single Post
Old May 19th, 2006, 11:28 AM   #16
Prm753
Professional Programmer
 
Prm753's Avatar
 
Join Date: Oct 2005
Location: United States
Posts: 447
Rep Power: 4 Prm753 is on a distinguished road
Send a message via AIM to Prm753 Send a message via MSN to Prm753
@Ruben: That was when I thought I needed 10 sets of numbers to write to the file, when I really only needed one. I now just have the one int. I didn't know you could call mulitiple ints with multiple values. I thought you could only call multiple ints. I learned something new today.

@The Dark/Peter: (whichever one you would rather me call you) Suppose I wrote a story on my family computer entitled The Uncensored Adventures of Paul McLain* and it was a book I didn't want mom to see. (You can guess why) Suppose futhermore that I panicked and decided to SecureOverwrite my story because I knew mom was better with the computer than she seems and she knew how to use a file recovery program. I wanted to make multiple passes over that data with different random numbers. Would it be ok to open the file with "fout" more than one time before I deleted the file, and overwriting first the original text and then the random number string or would I be writing into that "free" space?

*Disclamer: I have never written such a book, and most likely will not write it, because I have no "adventures" to share. (And if I did, I don't think I would foolishly put them on a computer)
__________________
The world's first athletic computer geek!
The home of PrProgramsStudios
How not to post a question: <-- Please don't reply
Prm753 is offline   Reply With Quote