Jump to content

date, password and the UAC

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
Charlie Chan

Charlie Chan

    Newbie

  • Members
  • Pip
  • 4 posts
Hi!
I've written a shareware program and now i want to protect it with a
serial/date checking mechanism.
I know that in the past programmers wrote date and serial key to the registry.
But now there is the UAC and writing to registry is restricted by the UAC.
And i don't want to require administartor privilegies.
Where do programmers write this information now?
Where can i store this information whereas each user can access this information?

#2
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,722 posts
Eh...you're going to have to write to the HKCU hive, which'll work for one user but not all. By the way, you don't want to store the bare date and serial key in the registry. Encrypt them or use some sort of hash, otherwise the user could just keep modifying the date and your shareware is now freeware.
sudo rm -rf /