I have an executable file called "XXX" and I want to prevent user to execute this executable file, so i have used this link to solve the problem, and it's working fine.
https://www.technipages.com/prevent-users-from-running-certain-programs
But If user rename the executable files as something called "YYY", then they can able to execute the file in window.I am trying to use the Original full name of executable, but I couldn't find the exact result. Kindly help me to solve this problem..