The user himself determines which program he wants to protect, when the program is launched under protection, a lock window appears.
How to implement blocking the launch of the program?
The user himself determines which program he wants to protect, when the program is launched under protection, a lock window appears.
How to implement blocking the launch of the program?
Try to write more detailed questions. To get an answer, explain what exactly you see the problem, how to reproduce it, what you want to get as a result, etc. Give an example that clearly demonstrates the problem. If the question can be reformulated according to the rules set out in the certificate , edit it .
Let's look at the two easiest ways.
the first is simple. Your program replaces all the "necessary binaries." At startup, she asks for a password and launches a deliberately prepared, renamed copy of the desired program.
Pros:
Minuses:
The second is to register your program as an exe file handler (just like it is registered for opening jpg or txt). Minus one and it is very big - the program itself is also exe ... and the development environment ... Debugging turns into a complete nightmare.
In general, you can contact the developers of viruses - they are constantly doing this :)
Source: https://ru.stackoverflow.com/questions/941697/
All Articles