...

View Full Version : Serial number protection system?



kaisellgren
06-11-2007, 11:52 AM
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.

mlseim
06-11-2007, 01:39 PM
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).

kaisellgren
06-11-2007, 06:18 PM
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?

aedrin
06-11-2007, 07:28 PM
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.

mlseim
06-11-2007, 08:14 PM
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.

Leeoniya
06-11-2007, 09:32 PM
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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum