I need to write an app that prevents the user from using the computer if they don't accept the security agreement first. It's like an additional logon layer, from the user's point of view.
The Problem: The app runs after the user logs on, so I have to go full screen (easy) and prevent them from ALT-TABbing to anything else, opening the Task manager, using the Start key, etc.
And the app has to be self-contained, i.e. no extra DLLs, etc.
And work well in Windows 7 and well-enough in XP for those few folks who are stuck with it.
How should I do it?
1) Brute force ugly-but-easy-method: put in a timer that resets the focus to the Agree/Disagree buttons every 10th of a second so the user doesn't get a chance to do anything else?
2) Spend hours writing global hooks to eat any keystrokes or mouse clicks I don't want?
3) [some other way I can't think of]
Your opinion? (Or links to someone who has already done it so I can be lazy?)