DelphiFAQ Home Search:

Delete a file so that it cannot be recovered

 

commentsThis article has not been rated yet. After reading, feel free to leave comments and rate it.

Question:

I need to delete files so then can never be recovered (undeleted). So far I

  1. opened them as a stream and overwrote them with random data several (!) times
  2. then renamed the file
  3. deleted it
In some cases the files still have been recovered.

Answer:

There are very advanced techniques in forensic science nowadays. Recovery attemps may go so far to read patterns in magnetic media to reveal weakly deleted files.

To save yourself time, visit http://www.sysinternals.com and find the SDelete utility (free with source code!). SDelete implements the Department of Defense clearing and sanitizing standard (DOD 5220.22-M)

At the time of writing, this link points you directly to SDelete.

This utility works with Windows 95, 98, NT 4.0 and Win2K and comes with source code.


Comments:

 

 

Email address (not necessary):

Rate as
Hide my email when showing my comment.
Please notify me once a day about new comments on this topic.
Please provide a valid email address if you select this option.
 
It seems that you are
from Washington, US .

Info/ Feedback on this

Show city and country
Show country only
Hide my location
You can mark text as 'quoted' by putting [quote] .. [/quote] around it.
Please type in the code:
photo Add a picture:

Please do not post inappropriate pictures. Inappropriate pictures include pictures of minors and nudity. The owner of this web site reserves the right to delete such material.