Welcome Guest ( Log In | Register )




                Web Hosting

2 Pages V   1 2 >  
Reply to this topicNew Topic
Reliable Hardware Serial Number For Software Protection?
tansqrx
post Oct 18 2006, 08:19 PM
Post #1


Super Member
Group Icon

Group: [HOSTED]
Posts: 566
Joined: 25-April 05
Member No.: 4,374
myCENTs:33.04


I am currently developing a program that I would like to protect from unauthorized users (copy protection). The software itself is free but I want my users to register before they can use it. Because the software is free, I can’t really use a third-party solution such as eSellerate because they take payment as a percentage of sales (which is zero).

I have played around with several ideas but the one that keeps sticking is using the hard drive serial number as a basis for protection. I’m not a big fan of this idea because I have been the victim of such schemes in the past. For example, I have a removable hard drive and every time I insert the drive a particular piece of software goes crazy and I have to reenter the activation code. Another problem with this software is I have a hybrid SATA and PATA system. For some reason the software (or maybe Windows) sees the PATA drives as primary when in reality a SATA drive is the boot drive.

Has anyone had experience in a similar situation and have any suggestions? Also does anyone have any example code for reliably retrieving the hard drive serial? I went over to Code Project (http://www.codeproject.com/csharp/hard_disk_serialno.asp) and found a nice article about finding the serial number. The big problem with this code is it sees my Zip drive as the first device and you may understand that this could be a problem. Any help or suggestions are welcome.
Go to the top of the page
 
+Quote Post
yordan
post Oct 20 2006, 09:31 AM
Post #2


Way Out Of Control - You need a life :)
Group Icon

Group: [MODERATOR]
Posts: 2,292
Joined: 16-August 05
Member No.: 7,896
myCENTs:99.39


Has the computer to be on the Internet network in order the software to be used ? Or has it to be able to work even when disconnected from the network ?
Go to the top of the page
 
+Quote Post
zerofool2005
post Oct 20 2006, 04:09 PM
Post #3


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 9
Joined: 20-October 06
Member No.: 16,689


What about logging the software into a Sql database. Once that software gets registerd it is logged on OS Processor type and IP address.
Go to the top of the page
 
+Quote Post
yordan
post Oct 20 2006, 04:47 PM
Post #4


Way Out Of Control - You need a life :)
Group Icon

Group: [MODERATOR]
Posts: 2,292
Joined: 16-August 05
Member No.: 7,896
myCENTs:99.39


That's what I was thinking. However, this needs the computer to be on the public network, a standalone machine will not be able to connect to the Sql database.
Go to the top of the page
 
+Quote Post
zerofool2005
post Oct 20 2006, 05:05 PM
Post #5


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 9
Joined: 20-October 06
Member No.: 16,689


hmm true. Unless you wrote into the application aswell once it was registered the info and have it encrypted so it couldnt be used on another machience
Go to the top of the page
 
+Quote Post
yordan
post Oct 20 2006, 05:49 PM
Post #6


Way Out Of Control - You need a life :)
Group Icon

Group: [MODERATOR]
Posts: 2,292
Joined: 16-August 05
Member No.: 7,896
myCENTs:99.39


QUOTE(zerofool2005 @ Oct 20 2006, 07:05 PM) [snapback]89774[/snapback]

hmm true. Unless you wrote into the application aswell once it was registered the info and have it encrypted so it couldnt be used on another machience

And, precisely, the very first question was : which info has to be written and encrypted ? This info has to be related to the hardware on which it is installed.
Go to the top of the page
 
+Quote Post
DrK3055A
post Oct 23 2006, 05:45 AM
Post #7


Member [ Level 1 ]
Group Icon

Group: Members
Posts: 46
Joined: 18-October 06
Member No.: 16,664


QUOTE(yordan @ Oct 20 2006, 07:49 PM) [snapback]89777[/snapback]

And, precisely, the very first question was : which info has to be written and encrypted ? This info has to be related to the hardware on which it is installed.


Why don't use CPUID instruction for getting the CPU serial number, stepping, ID string...? I guess there is a way for implementing such instruction in VB, or some activex control or dll..., well there must be a way.
Go to the top of the page
 
+Quote Post
tansqrx
post Oct 23 2006, 07:08 PM
Post #8


Super Member
Group Icon

Group: [HOSTED]
Posts: 566
Joined: 25-April 05
Member No.: 4,374
myCENTs:33.04


Thank you for your great suggestions. The purpose of the application is to query remote Internet resources so in short it will be on the Internet at all times. I don’t think that using the IP address would be much good because the IP can change at any time. I used to have a DSL line that changed everyday. As for the CPU ID, it is also not a hard and fast rule. If you remember a few years ago Intel had a big controversy over enabling the ID on Pentium 4 chips. From that point on I think that Intel has disabled the ID.

I suppose the SQL database would be the best way to go but I have absolutely no experience with SQL and I would rather not go down that path, at least not yet.

Great response so far.
Go to the top of the page
 
+Quote Post
yordan
post Oct 23 2006, 08:41 PM
Post #9


Way Out Of Control - You need a life :)
Group Icon

Group: [MODERATOR]
Posts: 2,292
Joined: 16-August 05
Member No.: 7,896
myCENTs:99.39


You could simply give each guy a serial associated to it's name and mail.
Then, your program can ask your computer if this serial/name/mail correct. if it's in your file, your computer says "OK" (it could simple be "grep password |grep name |grep serial |wc -l").
If your computer says OK, the program is activated. (for instance receiving a necessary myfile.dll.
If your computer says "NO", the fake dll file is not replaced by the correct one, and the program says "please ask a new registration from tansqrx.com
Go to the top of the page
 
+Quote Post
Jimmy89
post Dec 21 2006, 06:47 AM
Post #10


Living at the Datacenter
Group Icon

Group: [HOSTED]
Posts: 708
Joined: 30-June 06
From: Australia
Member No.: 14,219
myCENTs:76.93


you could always try to use a ethernet controller MAC address. i used that for a program once and it worked ok, till someone wants to take out their lan card. but topday most lan cards are part of the motherboard so that isn't as much of an issue - till they take out the motherbaord!
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Reply to this topicNew Topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts   16 Grafitti 30,517 Yesterday, 08:40 PM
Last post by: iG-
No New Posts 14 ScriptMan 1,179 29th December 2008 - 08:17 AM
Last post by: surg
No new   26 iciclez 3,304 21st December 2008 - 10:30 AM
Last post by: Quatrux
No New Posts   8 khalilov 298 14th December 2008 - 02:24 PM
Last post by: yordan
No New Posts   16 bryandel 5,688 12th December 2008 - 07:46 PM
Last post by: iG-Mark Robin
No New Posts   5 amitbhandari 1,211 12th December 2008 - 07:24 PM
Last post by: iG-Andreath
No New Posts 3 phdex 246 3rd December 2008 - 01:46 AM
Last post by: laniczech
No New Posts