Answer the question
In order to leave comments, you need to log in
How to block *.exe files?
I want to block *.exe files in such a way that the user could not open for use or a form would be displayed where it would be "YES, open the file" and "No, do not open the file". How to implement it in C++? Or tell me the best way to do this?
Answer the question
In order to leave comments, you need to log in
This can be done through group policies by setting up a whitelist of paths, and blocking everything else.
gpedit.msc > Computer > Windows > Security > Software Restriction
If you write a Low-Level FS Filter Driver and forbid opening EXE, then the whole system will "fall down".
For Windows itself launches EXE files all the time.
If you want it for the User to prohibit it -
You need to write Explorer Shell Extension - https://www.codeproject.com/Articles/441/The-Compl...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question