
![]() |
skyts
Hey everyone, I have a massive program built using Java, And I would like to protect it in the best way that I can.
Now, This program is going through changes again and again, So I would need to recompile it every once and a while. So basically what I am after is a program that will encode my java class files, And also for a good solution for the fact that when someone finally gets his hands on the program, He will not be able to use it (Something like a "call home feature" ![]() If anyone has any good ideas for it I will be glad to hear. Sky perkiset
Perhaps I'm way off base here, but I thought when you wrote Java code, you compiled (or at least PCoded it) while on the server - then the PCode is what's downloaded, not the source.
Other thought: is the java program all running locally on the client box ie., is it being downloaded at page call, or is this truly a standalone Java app? If it's standalone, I've purchased a few and they've all been compiled as well... so I'm a bit confused. /p nop_90
@perks you are correct
but since the java virtual machine is so simple, and the vm code actually does stuff like store the class names etc it can be decompiled with almost 100% accuracy.the class names etc need to be stored so the reflection works pro perly (or what ever u call it when u query classes at runtime).you can buy some commercial code encrytors which IMHO are a waste of $$$$. if you are doing security with obscurity there is something seriously wrong. perkiset
Thanks nop - so you're saying that the PCode is not very close to the
machine at all... still pretty high level. Gald to know that one myself./p nop_90
tons of free and comercial decompiler out there just do a google
this one cool http://www.ahpah.com/cgi-bin/suid/~pah/demo.cgi stick in the url of the page below http://www.dgp.toronto.edu/~mjmcguff/ learn/java/01-drawingLines/the decompiler source is almost identical ![]() skyts
Thanks, I will check these encoders, I hope they do good
![]() arms
I think your looking for something to obfuscate your bytecode:
http://www.google.com/search?q=java+bytecode+obfuscator You really don't need something like this unless you are planning on selling your app. skyts
No... These are simple things. I need something like Zend , to really encrypt the code so it cannot be decompiled.
I am looking for something that will encrypt the Class so bad, That it cannot be decompiled. And yes, If there is a free solution, I am interested aswell ![]() |

Thread Categories

![]() |
![]() |
Best of The Cache Home |
![]() |
![]() |
Search The Cache |
- Ajax
- Apache & mod_rewrite
- BlackHat SEO & Web Stuff
- C/++/#, Pascal etc.
- Database Stuff
- General & Non-Technical Discussion
- General programming, learning to code
- Javascript Discussions & Code
- Linux Related
- Mac, iPhone & OS-X Stuff
- Miscellaneous
- MS Windows Related
- PERL & Python Related
- PHP: Questions & Discussion
- PHP: Techniques, Classes & Examples
- Regular Expressions
- Uncategorized Threads