Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need help with a Security Issue using VB6

Status
Not open for further replies.

pungy

Instructor
Aug 5, 2007
71
US
OS = Windows XP SP3 Professional; VB6 Enterprise Edition

I have written an application that I am going to try and sell. It is going to be given out as Shareware or Freeware with a 30 day full feature trial period. I have worked out the routine for the trial period but my problem is the "Registration" of the product. I have no idea what to do in the way of coding this area.

Can you offer suggestions and/or solutions? I do not want to buy a package to do this.

Sam
 


Use 3-4-5 sets of prime numbers for each field (like MS registration boxes) or non prime but make them large and convert them to base36 so you end up with letters and/or numbers. (You should be able to search this site or PSC (planet-source-code.com) for some examples on creating/determining primes and converting base.)

Or you could use some other math trick like the first two fields add up to the third for even more verification (probably would not be able to primes).

One note, unless you already have the capability of navigating websites within your application, I would suggest that they (your end users) use their own browsers to nav to your site to enter their information, pay, and get their registration number.

Which brings up another way of making unique keys via your ASP page and that is you can take some of their personal information to create a seed number for one or two of the registration fields.

OR you can use your database of registered users unique key to seed one of the fields. Just make your beginning autonumber start at some number well in excess of 1.

Good Luck

PS. There are way too many different ways a group of people can come up with creating/verifying registration keys and I hope there are more posts in ways of accomplishing this.

Good Luck Again

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top