The DLL idea seems like a really good idea. After all, what I'm doing IS security by obscurity, so why not use a DLL as an extra layer of obscurity? I think I can easily make it look like a "real" DLL, load it using LoadLibrary and call a function on the library. It would be HARD to tell it's not a "real" library...
Question: Did you have problems with anti-virus software using such a technique? I'm especially thinking about modifying the file after it has been initially generated. Also saving the data into the same folder as the exe would not be good since it would probably be uninstalled if the application is uninstalled. But "shared DLL's" MAY stay on the client's system after you uninstall the application, so I can place my DLL in the "Common" / "Shared" folder and have it stay there. Thanks for the tip! > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Chris Stebbing > Sent: Sunday, March 26, 2006 1:08 AM > To: Borland's Delphi Discussion List > Subject: Re: LITE security / licensing aid > > 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 _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

