shred

Shred: Doesn't work on Journaled FS?

荒凉一梦 提交于 2019-11-27 03:23:37
问题 Shred documentation says shred is "not guaranteed to be effective" (See bottom). So if I shred a document on my Ext3 filesystem or on a Raid, what happens? Do I shred part of the file? Does it sometimes shred the whole thing and sometimes not? Can it shred other stuff? Does it only shred the file header? CAUTION: Note that shred relies on a very important assumption: that the file system overwrites data in place. This is the traditional way to do things, but many modern file system designs do

Shredding files in .NET

早过忘川 提交于 2019-11-26 16:56:26
问题 Is there a SDK that can be used in managed code to shred files securely? EDIT: This is the only link i could find in google that helps me EDIT: Either SDK or some kind of COM based component. 回答1: This code from codeproject may be a good starting point. Eraser has been around for years, you could call out to it by using System.Diagnostics.Process, or at least review the algorithm there. 回答2: Technology has changed in the past few years so when I happened to see this answer (why wasn't an