Mail Archives: djgpp/2001/05/23/03:37:40
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 -