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 4 of 4

Thread: How to write registration module

  1. #1
    Junior Member
    Join Date
    May 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to write registration module

    Hi All,

    Can anyone assist on how to write a module that will make a program stop running after a particular number of month and how to lock some/features of the program until a valid registration key is provided, Also how to do i generate a product key that cannot be easily maneuvered by back dating of system time etc.

    Thanking you in anticipation your posts


  2. #2
    Forum old-timer
    Join Date
    Nov 2008
    Location
    Faversham, Kent, UK
    Posts
    472
    My Mood
    Mellow
    Thanks
    4
    Thanked 58 Times in 54 Posts

    Default Re: How to write registration module

    It's not trivial - I'd suggest you find some good quality software to use rather than write your own, but if you do write your own, it will need to do better than the ones described here.
    Last edited by dlorde; May 10th, 2010 at 04:29 AM.

  3. #3
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Posts
    2,895
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    Default Re: How to write registration module

    It's very difficult to create something like this in Java because someone can fairly easily reverse engineer your program from the Java bytecode. Even programs written with langauges that compile down to machine code can be cracked.

    It all depends on how much security you want, how much of an inconvenience you want to make your program for the users, and how much research/work you are willing to do.

    Here's a webpage that gives some tips on how to protect your software from potential cracking: (note that eventually, some douche is probably going to figure out how to crack your program)
    How to protect software

  4. #4
    Junior Member
    Join Date
    May 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: How to write registration module

    The application in question here is a private application and needs to expire on a given date and it should deactivate itself on system backdate. When the application expire's, it should lock the major features of the application.Thats a brief of what the module should...thanx

Similar Threads

  1. Writing in a file using Java
    By JavaPF in forum File Input/Output Tutorials
    Replies: 4
    Last Post: December 17th, 2011, 04:33 PM
  2. write object to sql db
    By wolfgar in forum JDBC & Databases
    Replies: 3
    Last Post: May 18th, 2010, 10:03 AM
  3. Want to write good programs
    By dak2007 in forum Member Introductions
    Replies: 2
    Last Post: April 22nd, 2010, 04:21 PM
  4. How can i write this in code?
    By Mr. steve in forum Java Theory & Questions
    Replies: 2
    Last Post: November 30th, 2009, 10:07 PM
  5. How to write above a JPanel
    By bruno88 in forum AWT / Java Swing
    Replies: 4
    Last Post: June 23rd, 2009, 06:16 PM