You're viewing a comment by Paul Betts and its responses.

December 13, 2010, 17:54

Actually, there's a far more thorough yet evil solution, but since your scenario is so specific, I think it will be more secure:

http://support.microsoft.com/kb/197571
http://blogs.msdn.com/b/oldnewthing/archive/2007/12/13/6648400.aspx

Yes, you can write a DLL that gets loaded into *every process on startup*. Normally this "feature" of Windows is disabled and insane, but you could use it to TerminateProcess anything that isn't in the whitelist of allowed processes.

Reply To This Comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the first letter of your name: (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.