comp.lang.ada
 help / color / mirror / Atom feed
From: Preben Randhol <randhol+news@pvv.org>
Subject: Re: Crypting files with Ada
Date: Fri, 13 Sep 2002 08:34:43 +0000 (UTC)
Date: 2002-09-13T08:34:43+00:00	[thread overview]
Message-ID: <slrnao38p3.lm.randhol+news@kiuk0156.chembio.ntnu.no> (raw)
In-Reply-To: slrnao23p4.o7a.adi@drcomp.erfurt.thur.de

On 12 Sep 2002 22:03:16 GMT, Adrian Knoth wrote:
> Preben Randhol <randhol+news@pvv.org> wrote:
> 
>> Now I only have to figure out how to erase decoded files...
> 
> unlink()ing via FS does not work/is not what you're looking for?
> 
> So take your glibAda and call unlink(filename); Or even better
               ^^^^^^^
               what is this?
> remove();

I don't know. That is sth I have to find out. The problem is that if you
simply delete a file in say Windows or Linux you don't rease it you only
delete the link. So unless the OS has overwritten the place the file
occupied with new files one can recover it.

I guess one could change every byte in the file with 0 and then write
the file again before deleting it.

But thanks for the pointers I'll check it out.

Preben



  reply	other threads:[~2002-09-13  8:34 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-12 16:09 Crypting files with Ada Preben Randhol
2002-09-12 16:47 ` Preben Randhol
2002-09-12 22:03   ` Adrian Knoth
2002-09-13  8:34     ` Preben Randhol [this message]
2002-09-13 20:42       ` Adrian Knoth
2002-09-17 14:49       ` Jacob Sparre Andersen
2002-09-17 14:55         ` Preben Randhol
2002-09-17 17:44           ` Jacob Sparre Andersen
2002-09-17 18:26         ` Ted Dennison
2002-09-17 19:13           ` Jacob Sparre Andersen
  -- strict thread matches above, loose matches on Subject: below --
2002-09-18  7:29 Grein, Christoph
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox