Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: RE: Locking down user input


Message #1 by "Straforini, Marco" <marco.straforini@c...> on Wed, 12 Jun 2002 10:46:52 -0700
Hi there,

I need to add a feature to an existing program so that it can "lock down" an
NT4 or Win2000 workstation. It must not allow the user to interact with any
other apps, and must force the user to verify their identity (username/pass,
probably authenticated against NT), before unlocking. While in this state,
the app (and other apps) are displaying on the screen and must continue to
do so. 

I've investigated doing this as a screensaver, but for various reasons
(other requirements, and differing behaviour between NT4 and 2000), this
approach wont work. What looks promising is to use a system hook to disallow
all user input except a special key combo to bring up a system modal login
form, or to just bring up that form on any input at all. Another approach
that I've come across is one where the application uses various tricks
(including stopping the mouse being moved off itself) to keep focus and thus
prohibit the use of any other application.

What do you think is the best approach? One of these, or some other? If I
was to use a system hook, what's a good library ($$$ is not much of a
problem). If the keeping-focus approach, is it actually possible to nail
down the focus like that? No holes? Or maybe you have another suggestion?

Thanks very much in advance,
Emlyn


***************************************************************************
Confidentiality: The contents of this email are confidential and are
intended only for the named recipient. If the reader of this e-mail is not
the intended recipient you are hereby notified that any use, reproduction,
disclosure or distribution of the information contained in the e-mail is
prohibited. If you have received this e-mail in error, please reply to us
immediately and delete the document.
Viruses: Any loss/damage incurred by using this material is not the sender's
responsibility. Our entire liability will be limited to resupplying the
material. No warranty is made that this material is free from computer virus
or other defect.



  Return to Index