The disk contains sensitive files like ssh private keys, and they are saved in plain format. My computer has only one user account. Applications such as ssh.exe require access to these files, and I also want to view them in text editors such as Visual Studio Code.

The problem is that certain malicious applications can scan the disk and read these secret files, even if they don’t modify them. These applications may run with elevated privileges, like Administrator or SYSTEM.

I am looking for a solution to restrict access to these sensitive files by allowing only a selected group of programs to access them. Essentially, I need a white-list that specifies which applications can access a particular folder and read its files.

Thank you for your help.

Askify Moderator Edited question May 1, 2023