Question for programmers - how does 'trial' software work?
Posted: Tue 17 Mar, 2009 18.09
Hi,
I've always been interested in one thing. How do the "wrappers" that set e.g. 30-day limits on the use of software make sure that you haven't just altered the date? As I understand it, the only tools a programmer really has available to them is to note the install date, write it to the registry somewhere, and check it when it's run to make sure you're still within the 30-day period. But many of these programs are rather sophisticated and also ensure you haven't just set back the clock, so I'm intersted to know what's going on 'behind the scenes' to ensure this! I haven't found anything useful in my research.
Also, presumably these wrappers don't write to obvious places in the registry, instead trying to obfuscate their note of the install date (otherwise it could easily be removed) - actually this is the reason I never install 30-day trial software any more, since by definition it is squirrelling things away in my computer... anyway, what sort of methods and places are used to accomplish this? I'm most interested in how it accomplishes this in a Windows environment as that's what I'm most familiar with.
NB: I don't intend to do anything illegal or reverse engineer software - this is only out of curiosity. Rather interesting field if you ask me.
I've always been interested in one thing. How do the "wrappers" that set e.g. 30-day limits on the use of software make sure that you haven't just altered the date? As I understand it, the only tools a programmer really has available to them is to note the install date, write it to the registry somewhere, and check it when it's run to make sure you're still within the 30-day period. But many of these programs are rather sophisticated and also ensure you haven't just set back the clock, so I'm intersted to know what's going on 'behind the scenes' to ensure this! I haven't found anything useful in my research.
Also, presumably these wrappers don't write to obvious places in the registry, instead trying to obfuscate their note of the install date (otherwise it could easily be removed) - actually this is the reason I never install 30-day trial software any more, since by definition it is squirrelling things away in my computer... anyway, what sort of methods and places are used to accomplish this? I'm most interested in how it accomplishes this in a Windows environment as that's what I'm most familiar with.
NB: I don't intend to do anything illegal or reverse engineer software - this is only out of curiosity. Rather interesting field if you ask me.