At 05:42 AM 25/03/2006, Cosmin Prund wrote:
>Hello everyone!
>
>I'm working on securing some of my applications right now. I've managed to
>get "on/off" security working (ie: you're ether licensed or you're not
>licensed) but now I'd like to add a few tones of "gray". Essentially I'd
>like to add the ability to delay activating the product for a while. This
>requires some storage for number of "runs" or "expiry date".

Hi Cosmin,

one of the things I did a few years ago was to save such data in the 
same folder as the exe, but save it as a binary file with a .dll 
exension.  Most people will leave them alone, and it's normal for a 
program to be accessing a .dll file, so if they are snooping it looks 
quite normal. If they do figure it out and delete the file, then your 
program simply exits after issuing an appropriate error.

Another method is to save such data in plain view, but add a file 
checksum to the end of the file.  If the user edits the file you'll 
know about it.

Cheers,
Chris.


_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to