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 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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.