'back engineering' java applets

J

Jeremy Watts

hi,

is it possible to gain access to java code by a user using an applet over
the web? i know with some scripting languages like PHP or javascript then
users can view the code and 'back engineer' it to discover how it works etc.

is this possible with java?

thanks
 
T

Thomas Weidenfeller

Jeremy said:
is it possible to gain access to java code by a user using an applet over
the web?

Yes. The user loads the bytecode over the network and can decompile it.
You can make reverse engineering more difficult, but not impossible, by
using an obfuscater (google for detail). Decryption classloaders also
don't make reverse engineering impossible (the classloader itself can be
reverse engineered and then used to decrypt the "secret" code which it
should actually protect).

If you don't want your code out there on the net don't put it there.
Provide a web application and keep all your code on the server, e.g. in
some servlet and just send HTML pages to the user.

/Thomas

PS: Most code isn't worth reverse engineering. Are you sure that your
applet is so special that it needs the protection?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top