I have an application that use EXE file in it. I want to secure EXE file, I encrypt file but it should be decrypted to use in the program, so I have to create temporary EXE file in to hard disk.
my questions are:
1) How can I create it in memory that no one can access to it? (EXE file uses commands to run)
2) How can I run this file from locked folder without unlocking folder?
One thing you can do is to change its permissions such that only administrators can access the file.
Then run the program as administrator.