Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 6 of 6

Thread: HOW TO AVOID JAR,CLASS FILE HACKING

  1. #1
    Junior Member
    Join Date
    Jan 2012
    Posts
    3
    Thanks
    3
    Thanked 0 Times in 0 Posts

    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
    Forum Squatter newbie's Avatar
    Join Date
    Nov 2010
    Location
    North Wales
    Posts
    660
    My Mood
    Stressed
    Thanks
    28
    Thanked 115 Times in 106 Posts
    Blog Entries
    1

    Default Re: HOW TO AVOID JAR,CLASS FILE HACKING

    Don't include source into the JAR? and as for .class files, decompilers won't really give you complete source code, but only the gist.
    If that isn't enough of a piece of mind for you, using obfuscation, you can make the byte code very hard to decompile.

    Regarding your approach to this thread, I warn you to start changing your ways.
    Do not start threads in all caps and then continue to ask an entire question in capitals, It's very rude and could harm your chances of being helped.
    Please use [highlight=Java]//code goes here...[/highlight] tags when posting your code

  3. The Following User Says Thank You to newbie For This Useful Post:

    huwijk (January 25th, 2012)

  4. #3
    Junior Member
    Join Date
    Jan 2012
    Posts
    3
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default Re: HOW TO AVOID JAR,CLASS FILE HACKING

    sorry for caps
    what is obfuscation?

  5. #4
    Forum Squatter newbie's Avatar
    Join Date
    Nov 2010
    Location
    North Wales
    Posts
    660
    My Mood
    Stressed
    Thanks
    28
    Thanked 115 Times in 106 Posts
    Blog Entries
    1

    Default Re: HOW TO AVOID JAR,CLASS FILE HACKING

    Google is your friend.
    >> Answer here <<
    Please use [highlight=Java]//code goes here...[/highlight] tags when posting your code

  6. The Following User Says Thank You to newbie For This Useful Post:

    huwijk (January 25th, 2012)

  7. #5
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    4,972
    My Mood
    Hungover
    Thanks
    133
    Thanked 555 Times in 476 Posts

    Default Re: HOW TO AVOID JAR,CLASS FILE HACKING

    People have already taken their time to explain obfuscation, and the problems with it, in your crosspost. I guess you didn't like their answers and figured you'd ignore them?

    This thread has been cross posted here:

    http://www.java-forums.org/new-java/54489-how-avoid-jar-class-file-hacking.html

    Although cross posting is allowed, for everyone's benefit, please read:

    Java Programming Forums Cross Posting Rules

    The Problems With Cross Posting

    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  8. The Following 2 Users Say Thank You to KevinWorkman For This Useful Post:

    huwijk (January 30th, 2012), newbie (January 25th, 2012)

  9. #6
    Junior Member
    Join Date
    Jan 2012
    Posts
    3
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default Re: HOW TO AVOID JAR,CLASS FILE HACKING

    Thank you
    i am beginer in java so that i joined many forums
    i am also beginer in all kind of forums
    so i posted same questions in both forums same time...

Similar Threads

  1. What is the best way to avoid duplicating code?
    By Kerr in forum Object Oriented Programming
    Replies: 9
    Last Post: December 1st, 2011, 08:24 AM
  2. Replies: 5
    Last Post: November 13th, 2010, 12:53 PM
  3. How to avoid the Deadlock in the below program
    By murali1253 in forum Threads
    Replies: 0
    Last Post: April 15th, 2010, 05:35 PM
  4. Develop Superfast Programs - Avoid Threads
    By freespirit in forum The Cafe
    Replies: 2
    Last Post: March 18th, 2010, 01:49 AM
  5. Identify and avoid some of the pitfalls in learning to use generics
    By JackyRock in forum Java Theory & Questions
    Replies: 0
    Last Post: February 6th, 2010, 04:12 AM