Article View: borland.public.jbuilder.java.language
Article #18931Re: encryption textfile
From: Clint Brewer
Date: Tue, 07 Apr 1998 00:00
Date: Tue, 07 Apr 1998 00:00
28 lines
1556 bytes
1556 bytes
Andy Hofmann wrote:
>
> hi all
> i have to make an applet which allows users to add some entries in an
> TextDataFile. These entries in this file shouldn't be available for
> common people. for that reason, this textfile has to be encrypted so
> that somebody who catch this file cant see anything in it.
>
> how can i realize this? after every new entry, the textfile has to be
> encrypted but for administrators this file has to be readable (special
> password for admins).
>
> please send any ideas!
> thanks.
> andy
Hello Andy
Hmmm... What if you were to encrypt the entries instead of the
entrie file and then write somesort of view which reads all the entries
into a dataSet using the TextDataFile, but decripts the display based on
the users privledges. That way you wouldn't have to encrypt and decrypt
the entire file each time you updated an entry, and you would still be
able to use TexDataFile to read in the database. What kind of
encryption scheme are yuo planning on using?
-Clint Brewer
Technical Details
Message-ID:
<352ADCD0.6517@borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<352A1930.183524D2@codelab.ch>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,2c89f95a12b4676f X-Google-Attributes: gidf74b3,public From: Clint Brewer <supportinfo@borland.com> Subject: Re: encryption textfile Date: 1998/04/07 Message-ID: <352ADCD0.6517@borland.com> X-Deja-AN: 341905608 Content-Transfer-Encoding: 7bit References: <352A1930.183524D2@codelab.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: Borland International Newsgroups: borland.public.jbuilder.java.language