How To Prevent Processes From Starting?
I'm toying 开发者_StackOverflowaround with a very simplistic sort of process-monitor. Currently, it gets a list of the running processes and attempts to kill any process that is not white-listed.
What I'm looking for is a way to prevent a process from starting that isn't on the white-list. If that's possible. My knowledge level in this area is pretty non-existent and my Google-fu only returns websites discussing Process.Start() :(
Can anyone point me in the right direction?
See 'Hooking the native API and controlling process creation on a system-wide basis' for an example. Also see this SO question
精彩评论