Results 1 to 11 of 11
Like Tree1Likes
  • 1 Post By KevinWorkman

Thread: How to avoid jar,class file hacking

  1. #1
    huwijk is offline Member
    Join Date
    Jan 2012
    Posts
    2
    Rep Power
    0

    Default How to avoid jar,class file hacking

    It is easy to get source code from a class file or jar file
    how to avoid this to implement high security

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,889
    Rep Power
    8

    Default Re: How to avoid jar,class file hacking

    Question 1: Are you really sure you need this?
    Question 2: Are you sure you're sure?
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,863
    Rep Power
    19

    Default Re: How to avoid jar,class file hacking

    Don't get paranoid?

  4. #4
    huwijk is offline Member
    Join Date
    Jan 2012
    Posts
    2
    Rep Power
    0

    Default Re: How to avoid jar,class file hacking

    sure

  5. #5
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,863
    Rep Power
    19

    Default Re: How to avoid jar,class file hacking

    If someone really wants your code they'll get it.
    Short of turning it into an exe (which is itself not protection) there's not a great deal you can do.
    If the customer has the jar file they have your code.

  6. #6
    arielb is offline Member
    Join Date
    Jan 2012
    Location
    Panamá
    Posts
    41
    Rep Power
    0

    Default Re: How to avoid jar,class file hacking

    really necessary since it would obscure the option.
    Obfuscation - Wikipedia, the free encyclopedia
    ProGuard

  7. #7
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,863
    Rep Power
    19

    Default Re: How to avoid jar,class file hacking

    From the ProGuard link:
    "harder to reverse-engineer"
    Note the "harder".
    Since people successfully reverse engineer exe code, obfuscated Java code is not really going to be a challenge.
    It can, after all, only go so far due to the needs of the JVM.

  8. #8
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,889
    Rep Power
    8

    Default Re: How to avoid jar,class file hacking

    Guess he didn't like these answers. Crossposted: HOW TO AVOID JAR,CLASS FILE HACKING
    DarrylBurke likes this.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  9. #9
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,184
    Rep Power
    19

    Default Re: How to avoid jar,class file hacking

    Thanks for the heads-up, Kevin

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  10. #10
    JeffThomas is offline Member
    Join Date
    Dec 2011
    Posts
    31
    Rep Power
    0

    Default Re: How to avoid jar,class file hacking

    If you don't want people to easily be able to decompile and obtain snippets of your source code you should probably make use of another programming language such as c++ . Compile your program into an executable then pack it, encrypt it, and obfuscate it by utilizing several other third party programs.

  11. #11
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,863
    Rep Power
    19

    Default Re: How to avoid jar,class file hacking

    And it still won't be unhackable...

    I doubt there's any software out there that's worth that effort.

Similar Threads

  1. Help me To Avoid the Exception...
    By kathir0301 in forum New To Java
    Replies: 13
    Last Post: 12-08-2010, 08:58 AM
  2. Guide to hacking a website with 1000 way
    By thanhquoc in forum Networking
    Replies: 1
    Last Post: 07-29-2010, 07:08 AM
  3. How to avoid this problem...
    By pbaudru in forum AWT / Swing
    Replies: 6
    Last Post: 01-21-2010, 01:20 PM
  4. Replies: 2
    Last Post: 10-06-2008, 09:06 PM
  5. Java for Hacking
    By rgbosque in forum Forum Lobby
    Replies: 6
    Last Post: 01-02-2008, 03:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •