May 4th, 2010, 05:57 PM
securing your java bytecode
My project has a swing front end and so there are deliverables to the client. I was wondering if anyone had any tips on securing java bytecode.
From what I have read there are 2 techniques: 1)Encrypt it or 2)Obfuscate it. Unfortunately, from what I have read the encryption method has an obvious hole and obfuscating doesn't fully protect your code and also results in potential bugs in your app.
Any thoughts, suggestions?
May 26th, 2010, 06:46 AM
Java script and actionscript are similar
java script and action script are similar....
Here are what I am using to protect my SWFs:
* Actionscrip obfuscator like SWF Protector from DComSoft
* Encryption with As3crypto library
* Load SWF at Runtime. Just embed an SWF as a ByteArray into the loader SWF and it can be loaded through Loader.loadBytes().
I am sure that there are lots of info about java obfuscation... and encryption libraries for java as well.
Encryption has one big problem... It is key which is needed to decrypt encrypted code. Key should be available and stored in application, or in some hidden/remote server/file.