delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/23/03:37:40

Sender: tim AT picard DOT skynet DOT be
Message-ID: <3B0B6568.7274D3D@falconsoft.be>
Date: Wed, 23 May 2001 09:23:20 +0200
From: Tim Van Holder <tim DOT vanholder AT falconsoft DOT be>
Organization: Falcon Software NV
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.16-3 i686)
X-Accept-Language: en, nl-BE, nl
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Wipe source
References: <990440292 DOT 581058 AT isis DOT esoterica DOT pt>
<9ebtcd$155k$1 AT node21 DOT cwnet DOT roc DOT gblx DOT net>
<990523891 DOT 862847 AT osiris DOT esoterica DOT pt>
<9eebk0$1a4q$1 AT node21 DOT cwnet DOT roc DOT gblx DOT net> <3 DOT 0 DOT 6 DOT 16 DOT 20010523084329 DOT 5eafda08 AT pop3 DOT 01019freenet DOT de>
Reply-To: djgpp AT delorie DOT com

Nur Nurani wrote:
> 
> To destuct sensibel data.
> 
> If you delete one file, you can restore it with 'undelete'.
> 
> Whiping a file desrtuct it total by writing 01010101 and then
> 10101010 in each byte of an alocated sector/cluster.
> 
> You must read the FAT, where the file begins and then whipe each
> Byte at the end of the sector/cluster is a pointer to the next
> sector/cluster and you continue until EOF or better EOC.
> 
I suppose you could just open the file, write your 01's, flush, sync,
rewind, write your 10's, flush, sync, then close the file and unlink it.

-- 
Tim Van Holder - Falcon Software N.V.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
This message was posted using plain text. I do not endorse any
products or services that may be hyperlinked to this message.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019