Prevent program from running.

view full story

http://www.daniweb.com – Recently, I plan to develop a small software that protect user computer from infecting virus from USB flash drive. I come up with various ways to define which file is unsafe and which is safe. The main problem is that I want to prevent user from running unsafe file in USB flash drive. Is it possible to do so with WinAPI? Thank in advance. (General)