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 / First Aid / April 2005

Tip: Looking for answers? Try searching our database.

J2ME, How to package/protect souce code?

Thread view: 
boki - 06 Apr 2005 02:14 GMT
Hi All,
      Thanks for help.
I want to package/protect my source code for distribution, but user
can easily decompress JAR file to java souce code.

How can I protect it?

Bes regards,
Boki.
Arnaud Berger - 06 Apr 2005 07:47 GMT
Hi,

There are many available tools to do what you want :

Search for "java obfuscation"

Regards,

Arnaud

> Hi All,
>        Thanks for help.
[quoted text clipped - 5 lines]
> Bes regards,
> Boki.
Boki - 06 Apr 2005 09:51 GMT
Thank you very much.
Hi, I found some.... but...

Could you please recommand me one you like :D

Thank you so much!!

Best regards,
Boki.

"Arnaud Berger" <a.berger@libertycontact.fr> ???g???l???s?D:d300mc$lmi$1@news.tiscali.fr...
> Hi,
>
[quoted text clipped - 15 lines]
>> Bes regards,
>> Boki.
Arnaud Berger - 06 Apr 2005 10:03 GMT
Hi,

Sorry, bit I've never really needed obfuscation, so I wouldn't be able to
advise you on obfuscators.

I remember of obfuscated code where methods and attributes names were
replaced
by reserved keywords (if, else, switch) !
This is perfect because no editor will let you edit such a code correctly,
but I don't know which tool does this.

Also, replacements by short names ( a, b, c ..) is good because it prevents
from massive replacements
by people decompiling the classes.

Regards,

Arnaud

> Thank you very much.
> Hi, I found some.... but...
[quoted text clipped - 26 lines]
> >> Bes regards,
> >> Boki.
Boki - 06 Apr 2005 10:24 GMT
Great! Thanks a lot!

Best regards,
Boki.

"Arnaud Berger" <a.berger@libertycontact.fr> ???g???l???s?D:d308l7$3j0$1@news.tiscali.fr...
> Hi,
>
[quoted text clipped - 47 lines]
>> >> Bes regards,
>> >> Boki.
Daniel Dyer - 06 Apr 2005 10:07 GMT
> Thank you very much.
> Hi, I found some.... but...
[quoted text clipped - 5 lines]
> Best regards,
> Boki.

Proguard (http://proguard.sourceforge.net) is a good, free obfuscator.

Dan.

Signature

Daniel Dyer
http://www.footballpredictions.net

Boki - 06 Apr 2005 10:25 GMT
You are the one. Thanks!

Best regards,
Boki.

"Daniel Dyer" <dan@footballnospamformepleasepredictions.net>
???????:op.sosznkup3rnoah@cgl0517.chaucer.co.uk...

>> Thank you very much.
>> Hi, I found some.... but...
[quoted text clipped - 9 lines]
>
> Dan.
Darryl Pierce - 11 Apr 2005 16:51 GMT
> Thank you very much.
> Hi, I found some.... but...
>
> Could you please recommand me one you like :D

ProGuard.
Signature

Darryl L. Pierce <mcpierce@gmail.com>
Visit my homepage: http://mcpierce.multiply.com
"By doubting we come to inquiry, through inquiry truth." - Peter Abelard

Boki - 11 Apr 2005 17:49 GMT
Done. :)

Thanks!

"Darryl Pierce" <mcpierce@gmail.com>
???????:7Yw6e.51032$f%4.2012@bignews1.bellsouth.net...
>> Thank you very much.
>> Hi, I found some.... but...
>>
>> Could you please recommand me one you like :D
>
> ProGuard.
Aki \ - 06 Apr 2005 10:13 GMT
<not a beginner issue, redirecting followup to c.l.j.programmer only>

> Hi All,
>        Thanks for help.
> I want to package/protect my source code for distribution, but user
> can easily decompress JAR file to java souce code.
>  
> How can I protect it?

Obfuscation issues aside, have you thought about patents? If you have a
patent/copyright on your source code, then decompiling the source will
constitute a copyright infringement.

Signature

-Aki "Sus" Laukkanen
"Älä multa kysy tai mä vastaan!"
"Don't ask me or I'll answer!"

Arnaud Berger - 06 Apr 2005 10:39 GMT
Just a link with many thoughts on obfuscation :

http://www.mindprod.com/jgloss/obfuscator.html

Regards,

Arnaud

> Hi All,
>        Thanks for help.
[quoted text clipped - 5 lines]
> Bes regards,
> Boki.
Arnaud Berger - 06 Apr 2005 10:39 GMT
Just a good link about obfuscation

http://www.mindprod.com/jgloss/obfuscator.html

Regards,

Arnaud

> Hi All,
>        Thanks for help.
[quoted text clipped - 5 lines]
> Bes regards,
> Boki.
Boki - 06 Apr 2005 12:51 GMT
:D  catch u!

Best regards,
Boki.
"Arnaud Berger" <a.berger@libertycontact.fr> ???g???l???s?D:d30ape$52p$1@news.tiscali.fr...
> Just a good link about obfuscation
>
[quoted text clipped - 13 lines]
>> Bes regards,
>> Boki.
Darryl Pierce - 11 Apr 2005 16:51 GMT
> Hi All,
>        Thanks for help.
> I want to package/protect my source code for distribution, but user
> can easily decompress JAR file to java souce code.
>
> How can I protect it?

Use an obfuscator, such as ProGuard. The WTK will handle obfuscation for
you if you provide the ProGuard JAR file.

Signature

Darryl L. Pierce <mcpierce@gmail.com>
Visit my homepage: http://mcpierce.multiply.com
"By doubting we come to inquiry, through inquiry truth." - Peter Abelard

Maxim Kasimov - 12 Apr 2005 07:58 GMT
http://www.cs.auckland.ac.nz/~cthombor/Students/hlai/

>> Hi All,
>>        Thanks for help.
[quoted text clipped - 5 lines]
> Use an obfuscator, such as ProGuard. The WTK will handle obfuscation for
> you if you provide the ProGuard JAR file.

Signature

Best regards,
Maxim

Boki - 12 Apr 2005 10:54 GMT
Gorgeous!

Thanks a lot!

Best regards,
Boki.

"Maxim Kasimov" <kasimov@i.com.ua>
???????:d3frnd$1et4$1@news.tsystems.kiev.ua...

> http://www.cs.auckland.ac.nz/~cthombor/Students/hlai/
>
[quoted text clipped - 7 lines]
>> Use an obfuscator, such as ProGuard. The WTK will handle obfuscation for
>> you if you provide the ProGuard JAR file.


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.