Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Activation codes
Message
From
09/03/2012 17:58:48
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01537866
Message ID:
01537871
Views:
73
>See if http://www.sweetpotatosoftware.com/spsblog/2005/08/30/VisualFoxProRandomLicenseSerialGenerator.aspx helps

Thanks, but not really. It shows how to get hash codes - I was planning to use a construction of my own, and those are probably better. But the real problem is how to get, not any activation code, but one that is time-restricted.

>
>>One of my clients wants something like a time-based activation code. I told him that this is not very secure, because any fool can change the computer's clock... but he still wants it.
>>
>>Now, the problem is, I don't know how to do it. I was thinking about the following limited solution: Get an activation code as a one-way has from the current month plus some salt (e.g., checksum of ("201203" + "Harry Potter rocks!")), tell the client that this is the activation code, and have him type it in (or type it in remotely, with GotoMyPC or similar).
>>
>>The program then re-does the calculation each time it starts, and checks whether it still gets the same activation code. If not, time to get a new activation code. This would work fine - except for the tiny little detail that the user might change the computer clock.
>>
>>My problem now is, I wanted something more flexible - a solution that allowed a shorter or a longer time period - ideally, a period of any desired length. Any ideas?
>>
>>TIA,
>>
>>Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform