Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    Regular Coder
    Join Date
    Jan 2006
    Location
    Finland, Hollola
    Posts
    285
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Serial number protection system?

    Hi,

    I'd like to make a full and a lite version of my PHP+MySQL script. I have made a successful PayPal and serial number generation system, however, my script is too easy to crack as you just have to change a few values at db.

    How would you make a hard to crack serial system? Can you provide me any links, I could not find any resources.
    PHP 5 & MySQL 5 (Y)

  • #2
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,531
    Thanks
    8
    Thanked 1,091 Times in 1,082 Posts
    I guess I would have two versions of the program. The lite version would
    be missing the features of the full version. Anyone could load and run the
    lite version. If they paid, they could download the full-version that would
    have those features. The MySQL database remains untouched. The full
    version just has more features ... no serial number stuff needed.

    As far as protecting it from copying to other people, not much you can do
    about that. It's the same thing as X-Cart, or Cubecart ... anyone could
    copy it and use it over again, or remove branding without paying. It's not
    ethical, but I'm sure people do it anyhow. It would be up to you to monitor
    the abuse and try to do something about it. You would have to determine
    how many people are abusing your script by passing copies to others.

    If you provide the lite-version and then offer the full-version at a reasonable
    cost, people would tend to pay for it and keep it honest. You'll discover that
    most people actually have good integrity and are willing to compensate you
    for your efforts. You'll always have a handful of bad apples no matter how
    much security you try to make. I just don't think the serial code thing is
    worth the effort (in my opinion).

  • #3
    Regular Coder
    Join Date
    Jan 2006
    Location
    Finland, Hollola
    Posts
    285
    Thanks
    8
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by mlseim View Post
    I guess I would have two versions of the program. The lite version would
    be missing the features of the full version. Anyone could load and run the
    lite version. If they paid, they could download the full-version that would
    have those features. The MySQL database remains untouched. The full
    version just has more features ... no serial number stuff needed.

    As far as protecting it from copying to other people, not much you can do
    about that. It's the same thing as X-Cart, or Cubecart ... anyone could
    copy it and use it over again, or remove branding without paying. It's not
    ethical, but I'm sure people do it anyhow. It would be up to you to monitor
    the abuse and try to do something about it. You would have to determine
    how many people are abusing your script by passing copies to others.

    If you provide the lite-version and then offer the full-version at a reasonable
    cost, people would tend to pay for it and keep it honest. You'll discover that
    most people actually have good integrity and are willing to compensate you
    for your efforts. You'll always have a handful of bad apples no matter how
    much security you try to make. I just don't think the serial code thing is
    worth the effort (in my opinion).
    Hi!

    Thanks for your very informative reply!

    So maybe you are right. I need to have two separate program versions, pro and lite. But what about the pro. Should I make it only that when you have bought it you will get it or should I make it to have some kind of serial system to indetify who has bought the script if any?
    PHP 5 & MySQL 5 (Y)

  • #4
    Senior Coder
    Join Date
    Jan 2007
    Posts
    1,648
    Thanks
    1
    Thanked 58 Times in 54 Posts
    You could implement a serial scheme, but your serial code decryption would be part of your source code. Hence making it possible for most people to figure out how to generate one.

    There might be some techniques that are 1 way, but still have a method of validating the code, but you'd have to research that.

  • #5
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,531
    Thanks
    8
    Thanked 1,091 Times in 1,082 Posts
    I guess it would depend on how much money it costs for a pro version.
    Perhaps it would be worth it? But if the script cost is low, maybe not.

  • #6
    Regular Coder
    Join Date
    Apr 2006
    Location
    Northbrook, IL
    Posts
    394
    Thanks
    8
    Thanked 6 Times in 6 Posts
    What about a php pre-compiler like Nu-Coder or sourceguardian. i'm not sure but maybe come php accelerators like these have the option to only store the compiled versions instead of both source and compiled:
    http://en.wikipedia.org/wiki/PHP_accelerator

    Leon


  •  

    Posting Permissions

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