PC Review


Reply
Thread Tools Rate Thread

Delete a file permanent

 
 
Johan Machielse
Guest
Posts: n/a
 
      17th Mar 2009
Hi,

I want to delete a file in such a way so it's not possible anymore to
recover this file with some kind of recovery tool. I think I have to
possibilities:
- File.Delete()
- FileInfo.Delete()
The description of FileInfo.Delete() tells that it deletes files
permanently! Can I assume that this is the right method to delete files so
they can't be recovered, or is there a better way to do this?

Thank you in advance!

Regards,

Johan Machielse
 
Reply With Quote
 
 
 
 
Andrew Faust
Guest
Posts: n/a
 
      17th Mar 2009
"Johan Machielse" <(E-Mail Removed)> wrote in
message news4470A7D-895D-41F4-A024-(E-Mail Removed)...
> Hi,
>
> I want to delete a file in such a way so it's not possible anymore to
> recover this file with some kind of recovery tool. I think I have to
> possibilities:
> - File.Delete()
> - FileInfo.Delete()
> The description of FileInfo.Delete() tells that it deletes files
> permanently! Can I assume that this is the right method to delete files so
> they can't be recovered, or is there a better way to do this?


If your goal truly is to make it un recoverable, then you'll need to take
extra steps. Deleting a file merely removes the link from the filesystem and
lets the system know it can reuse the space. However, it doesn't actually
delete the contents of the file. This means the data can be recovered.

To securely delete a file the traditional method is to overwrite every bit
in the file 1 or more times. After it's been overwritten you can then delete
it. At that point, even if it is recovered the contents are gone.

Andrew Faust

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Permanent Delete batesharold@hotmail.com Microsoft Outlook VBA Programming 2 15th Sep 2006 10:28 AM
Permanent Delete =?Utf-8?B?YmlsbHA=?= Microsoft Outlook Discussion 1 20th Mar 2006 06:10 PM
shift delete for permanent results, happening with just delete =?Utf-8?B?YmxhY2tfcm9zZQ==?= Microsoft Outlook Discussion 0 20th Aug 2005 03:35 AM
Permanent Delete AbbN Microsoft Outlook Discussion 1 19th Aug 2004 03:56 PM
Shift + delete = permanent delete and lost HD space. =?Utf-8?B?a2VudHVreWZyaWVk?= Windows XP General 4 17th Jul 2004 10:22 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:32 PM.