Dear Cosmin. You don't understand at all. Writing to current user registry as you said, doesn't require a hacker to break the protection. Even a 6 year child can break this protection by deleting the old user account and creating a new one. The trial will run again as new because in the new account created there is no information in the registry about written by my software. You should try this in your computer.
--- > Do you REALLY need to write to that file when a violation of any kind occurs? I don't understand what you want to say with this. Closing the application if it can't write to a protected file will convince my users to quickly remove my application from their computers since it can't be used. --- Cosmin Prund <[EMAIL PROTECTED]> wrote: > Do you REALLY need to write to that file when a violation of any kind > occurs? Isn't ACTING on that fact enough? You may simple stop running when > you see such a violation (posting a message). > > I guess you want to write to that file so you can write something there so > the program will not run again afterwards. But you can simply write > something very simple into the current user registry key and be done with > lots of would-be hackers trying to turn the clock. You already there's no > real way to enable time-based or usage-based trial limits, so all you should > care about is fighting the "would be" hacker :-) > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:delphi-talk- > > [EMAIL PROTECTED] On Behalf Of Human > > Sent: Friday, April 21, 2006 12:03 PM > > To: Delphi-Talk Discussion List > > Subject: RE: Writing to registry under a limited account (Windows 2000/XP) > > > > > Require your application to be installed by an Administrator > > I still need to write to the 'secret' key when the trial expire or the > > application enter to > > 'Locked' mode (when it detect something strange like an invalid system > > time. > > > > > write to the application install directory > > Just deleting the application and reinstalling it, will grant another 30 > > days of full working > > trial. > > It needs to be in Windows folder because Windows is a little bit difficult > > to delete and > > reinstall. > > > > > > --- Cosmin Prund <[EMAIL PROTECTED]> wrote: > > > > > Require your application to be installed by an Administrator OR write to > > the > > > application install directory, not the Windows directory. > > > > > > > -----Original Message----- > > > > From: [EMAIL PROTECTED] [mailto:delphi-talk- > > > > [EMAIL PROTECTED] On Behalf Of Human > > > > Sent: Thursday, April 20, 2006 8:46 PM > > > > To: Delphi-Talk Discussion List > > > > Subject: Writing to registry under a limited account (Windows 2000/XP) > > > > > > > > Anybody knows how to write data in C:\Windows and registry while the > > > > application run under a > > > > limited account (non Administrator). > > > > > > > > The protection I made for my program works perfectly but only if it > > runs > > > > in an Administration > > > > account. > > > > Under a limited user it can read but it can't write (of course) in > > Windows > > > > folder, Program files > > > > and Windows Registry (except H_Key_CurrentUser). > > > > > > > > This is not a brilliant idea since the user can create a new account > > when > > > > the program expire, > > > > deleting the old one. > > > > Can a Delphi application write in protected places or run itself as > > > > Administrator? > > > > > > > > > > > > If I choose Christianity then the Islamic will say I'm a pagan. > > > > If I choose Islamic then the Buddhism will say I'm a pagan. > > > > If I chose Buddhism then the Jewish will say I'm pagan. > > > > If I choose no God then everybody will say I'm pagan. > > > > Please, can I be free? Can you NOT tell me how I should live MY life? > > > > > > > > __________________________________________________ > > > > Do You Yahoo!? > > > > Tired of spam? Yahoo! Mail has the best spam protection around > > > > http://mail.yahoo.com > > > > __________________________________________________ > > > > Delphi-Talk mailing list -> Delphi-Talk@elists.org > > > > http://www.elists.org/mailman/listinfo/delphi-talk > > > > > > > > > > > > __________________________________________________ > > > Delphi-Talk mailing list -> Delphi-Talk@elists.org > > > http://www.elists.org/mailman/listinfo/delphi-talk > > > > > > > > > If I choose Christianity then the Islamic will say I'm a pagan. > > If I choose Islamic then the Buddhism will say I'm a pagan. > > If I chose Buddhism then the Jewish will say I'm pagan. > > If I choose no God then everybody will say I'm pagan. > > Please, can I be free? Can you NOT tell me how I should live MY life? > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > __________________________________________________ > > Delphi-Talk mailing list -> Delphi-Talk@elists.org > > http://www.elists.org/mailman/listinfo/delphi-talk > > > > __________________________________________________ > Delphi-Talk mailing list -> Delphi-Talk@elists.org > http://www.elists.org/mailman/listinfo/delphi-talk > If I choose Christianity then the Islamic will say I'm a pagan. If I choose Islamic then the Buddhism will say I'm a pagan. If I chose Buddhism then the Jewish will say I'm pagan. If I choose no God then everybody will say I'm pagan. Please, can I be free? Can you NOT tell me how I should live MY life? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com __________________________________________________ Delphi-Talk mailing list -> Delphi-Talk@elists.org http://www.elists.org/mailman/listinfo/delphi-talk