securely overwrite files with Python

Peter Hansen peter at engcorp.com
Fri Mar 5 18:15:20 EST 2004


Mathias Waack wrote:
> Bart Nessux wrote:
> 
>>Is there a shred module in Python? 
> 
> First: It is not possible. Let me cite some sentences from shred(1):
> 
>        CAUTION: Note  that  shred  relies  on  a  very  important
>        assumption:  that the filesystem overwrites data in place.
>        This is the traditional way to do things, but many  modern
>        filesystem  designs  do  not satisfy this assumption.

I'm fairly sure that at least some "journalling" or "logging" file 
systems, such as ReiserFS, or maybe ext3, on Linux, violate this assumption.

-Peter



More information about the Python-list mailing list