how to encrypt jar files ? (please recommand tool to secure java class file

Dear All:

After release of our webstart application,I begin to worry about the source code -anti compiling if jars are extracted by un-knowen user.

Is there any tool to secure specified jars of a webstart application (wich is composed of lot jar files,I just only want to secure the "KEY" jar file)

I also heard that obfuscator hurts performance ,My boss does not allow such solution)

Besides,If I have to use obfuscator,Is there any setting in jnlp to noted?

Regards

john from Taiwan.

[530 byte] By [neoarta] at [2007-11-27 0:31:55]
# 1

We're using Klassmaster: http://www.zelix.com/klassmaster/index.html

There are a lot of discussions about de-compiling, encrypting and so on on the web, but enctyption discussions allways end up in a catch-22 case, because you will have to supply the classloader with key to unlock your jar-files....

obfuscation is not perfect either, but it can make it really had to get anything usefull from the de-compiled code. We have not noted any preformance problems with obfuscation, only some reflection issues :-)

There are also some special compilers for java which creates linux / windows executables: http://www.excelsior-usa.com/jet.html but I have not tried this myself...

Message was edited by:

AsbjornAarrestad

AsbjornAarrestada at 2007-7-11 22:36:55 > top of Java-index,Desktop,Deploying...