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 / October 2006

Tip: Looking for answers? Try searching our database.

java exe wrapping... does it protect the code from decompilation?

Thread view: 
tiewknvc9 - 05 Oct 2006 15:50 GMT
Hi!

Im trying to figure out if using a program that generates an exe while
wrapping my jar file inside it, would actually protect my code (without
obfuscation) from potential hackers with decompilers.

While I am aware that exe's can be decompiled, although very difficult
to read, I dont know if wrapping my jar in an exe would actually add
enough security...

Im referring to something like jsmooth...

Thanks for your feedback
Oliver Wong - 05 Oct 2006 16:19 GMT
> Hi!
>
[quoted text clipped - 9 lines]
>
> Thanks for your feedback

   Depends on the implementation. It's possible all the EXE does is
extracts the JAR and executes it, and deletes the JAR once the program
finishes. If so, it's possible for the hacker to just stop the program
before the delete occurs, and thus gain access to the JAR.

   - Oliver
victor at sevencoins dot com - 09 Oct 2006 07:31 GMT
I use NativeJ (http://www.dobysoft.com/products/nativej/) and asked the author
this question quite a while back. His reply might be helpful to you:

>> Is it possible for my malicious client to find that (extracted) jar
>> file and having any chance to decompile it?
>
> The embedded JAR feature is _not_ a security feature! You should look
> into byte-code obfuscators (eg. ProGuard - proguard.sourceforge.net) if
> you want to prevent third parties from decompiling your JAR files.

Cheers.

> Hi!
>
[quoted text clipped - 9 lines]
>
> Thanks for your feedback


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.