Forbid execution ?
-
Does anyone know how to write a service to forbid execution of a specified application (ie maybe ???) Thanks for all. Lionel
I don't think it is possible to forbid an application from executing. Allthough I know that in XP there is something ( group policies I think ) where you can block certain applications. What you could do if you want to block an application is use a system-wide hook in a dll and check when a window is created. From that window you can easily get the executable's name and end the process if you don't want it to run... Don't think you are, know you are...
-
Does anyone know how to write a service to forbid execution of a specified application (ie maybe ???) Thanks for all. Lionel
If the application in question is on an NT-type box, you can alter the security/permissions of it so that only certain users/groups can execute it. When your service tries to execute the application, it will error out accordingly.