By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,751 Members | 1,216 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,751 IT Pros & Developers. It's quick & easy.

Serial Number and Registration

P: 15
Hello Everyone,

I have a little program which I want to put some limitations on. I never thought having a serial number could be so hard or preventing people from installing on more than one system can be such a daunting task. Anyhow, basically my program will have full access to internet and can contact a server to verify the serial number. I am just not sure what the standard procedures are for assigning serial numbers, registering a software and how to tie it with a specific system hardware, or how to securely authenticate the serial number.

Any feedback will be appreciated.
Oct 14 '08 #1
Share this Question
Share on Google+
2 Replies


dlite922
Expert 100+
P: 1,584
When they pay you, you give them a serial number (usually randomely generated)

Your software should connect to your (secure) server and provide the serial number you gave them. Compare with your database, if there is a match (company/name matches serial number) then return successful, otherwise return with error that serial number is incorrect.

If it returns error, your software should not allow the user to continue to use it.

By the way, do you have your code encoded and obfuscated? Otherwise, any PHP developer can go in there, change the code and by pass it. Even if your customers don't know PHP, its just a matter of time a PHP guy gets his hands on it.


Cheers,



Dan
Oct 15 '08 #2

P: 15
Thanks for the great input. Well, the actual code in C but I was wondering if PHP could be of any help. Now, security is not super important. The software sales for less than $10 a piece. I can't care much if someone goes to the extend to find out how the mechanism of serial number works. I was wondering if PHP is the language to go with if I want to harness the CPU ID and/or HDD serial number and post it to some web page for retrieval later on. I can simply setup a googlepages page with all the serial numbers in it and have PHP check for the desired serial number and give the go ahead. Is that possible? Sorry, I am new to PHP and really can help a hand. I would appreciate snippets of the code for posting and retrieving data if you can.

Good day,
Oct 16 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.