Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / June 2005

Tip: Looking for answers? Try searching our database.

'back engineering' java applets

Thread view: 
Jeremy Watts - 13 Jun 2005 09:42 GMT
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
Thomas Weidenfeller - 13 Jun 2005 10:33 GMT
> 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?

Signature

The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.