|
Post by ozzywizard on Oct 25, 2003 15:56:28 GMT -5
Im still learning vb so very new and trying to understand a few things.
I have created a programme for my community and I want to just keep it in my community. Now I have it password protected but anyone can give the link and password out to others right ? . . .
I remember A.G and Tim both had their projects password projected and the password was unique to the user.
How would I go about doing this ? .
So when they open the application it gives them a key to mail me with and I then mail them with a code to open it ? . Once open on their comp it will stay open .
|
|
|
Post by AbsoluteGenius on Oct 25, 2003 16:12:15 GMT -5
I would love to help here and give you my code but, i use it for my projects and is a unique encryption method. i could give you the basics but it wouldnt help without seeing some working code. but let me try. first you need to work out how to find a unique code for any given PC, - PC Nameor HD serial number there are a number of ways then you need to encrypt that code with a checksum of some sort and password - so when u get the key back you know is authentice because your key creationg program will have the same pasword etc. its not the easiest of things to do. without examples And the serial code generation whould have to be good one good feature of my code is it can be different every time i generate it on the same serial number (well upto 15 different results) but would still be valid. there is a OCX you can use called ACtiveLock - i tried it out once, its a similar idea www.activelock.com/
|
|
|
Post by ozzywizard on Oct 25, 2003 16:19:12 GMT -5
Thanks A.G , maybe a little too advanced for me at this point but it gives me somthing to work with and think about. . its all about learning
|
|
Rift
xTeam
Please! I am Ugoff ?~?
Posts: 201
|
Post by Rift on Oct 25, 2003 17:01:36 GMT -5
The way i do it is make a 256 bit encryption of a unique string, like their full date/time and then encrypt that against another string... once it's set once, it stores the string so it's not random the next time they open it... after that, the person sends me their string "product ID" and the Username they want to use, once i have that, i put it in a keygen, that encrypts with the same method, and then send em back the key for that username + "product id" and it unlocks it., also if you dont want people to just use the same product ID and username on a nother copy of the program, make sure that the "product id" or password they enter, matches the one that the program actualy generated. hope that might somehow also Help -Rift-
|
|