aspose file tools*
The moose likes Java in General and the fly likes secure my code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "secure my code" Watch "secure my code" New topic
Author

secure my code

khaled hanafy
Greenhorn

Joined: Jun 28, 2010
Posts: 25

Hi Guys,

I wanna program that encode my class files to secure my code .

Any help will be appreciated.
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
In case you're talking of making it impossible to prevent decompilation, then this is ultimately futile - a determined will be able to recover the source code. If that's not what you meant, please be more specific.
Saifuddin Merchant
Ranch Hand

Joined: Feb 08, 2009
Posts: 606

Tim Moores wrote:In case you're talking of making it impossible to prevent decompilation, then this is ultimately futile - a determined will be able to recover the source code. If that's not what you meant, please be more specific.


Yes but you can always keep the amatures out which is good enough for most cases. You could search for java code obfuscation

Of course look at the pro and cons, as Tim said obfuscation won't
"make it impossible to prevent decompilation"
just very difficult.


Cheers - Sam.
Twisters - The new age Java Quiz || My Blog
Brian Burress
Ranch Hand

Joined: Jun 30, 2003
Posts: 123
Just put comments in it. That will confuse most developers that I know ;)
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 40034
    
  28
Or find the MindProd site, which makes most entertaining reading. You will find a link to obfuscators in the naming section.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: secure my code