> that is an interesting question, wish I knew what you were asking...
> perhaps you are missing a couple of words?
I assume that this data could be important.
So you don't want to lose it.
So, since you can't hide user from opening data in notepad,
he can change or delete this data.
Andrey

Signature
http://uio.imagero.com Unified I/O for Java
http://reader.imagero.com Java image reader
http://jgui.imagero.com Java GUI components and utilities
>> that is an interesting question, wish I knew what you were asking...
>> perhaps you are missing a couple of words?
[quoted text clipped - 7 lines]
> So, since you can't hide user from opening data in notepad,
> he can change or delete this data.
By "hide", you probably mean "prevent": You can't prevent the user from
opening the data file in notepad.
Depending on the OS being used, it may be possible to modify the access
rights so that only the application (and perhaps the system administrator)
can access the file. But then again, if you could implement this access at
the OS level, there wouldn't be much use in encrypting the file in the first
place.
- Oliver
Luc The Perverse - 10 May 2006 00:27 GMT
>>> that is an interesting question, wish I knew what you were asking...
>>> perhaps you are missing a couple of words?
[quoted text clipped - 16 lines]
> the OS level, there wouldn't be much use in encrypting the file in the
> first place.
It seemed pretty clear cut to me.
He doesn't want the file readable but realizes that someone could reverse
engineer his code to find out how to get the solution.
I'd say use an encoding - but since the cryptographic functionality is
already built into Java, just assign and store a key and then use it with an
encryption algorithm like AES. (AES is fast.) Since the key will be
available, using a more secure algorithm won't really matter, but AES is
good all around.
--
LTP
:)
tiewknvc9 - 11 May 2006 15:41 GMT
I used cryptology, its not secure for some user that really wants to
break it, but for my purposes I think it will do!
Thanks, I plan on using the handshake idea before "billing" the user.
Andrey Kuznetsov - 13 May 2006 10:09 GMT
> By "hide", you probably mean "prevent.
yup
Andrey

Signature
http://uio.imagero.com Unified I/O for Java
http://reader.imagero.com Java image reader
http://jgui.imagero.com Java GUI components and utilities