Announcement Announcement Module
No announcement yet.
securing your java bytecode Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?

  • #2
    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.