mercredi 4 février 2015

On Windows, how to restrict access to a folder, sub folder and files to only some applications (not users)



We have an application which is not per user and can be used by multiple users simultaneously. Data is also shared by all users.

The path to the data folders we use is ProgramData\OurAppName\Data (post Vista), and we give full control to all users, so that our application run by them can make changes to files under the Data folder.


Now the issue with this is, now any other application (malware/virus) can also modify files - i.e. an attack can be made on our application's data files. Our applications is a Win32 Desktop application.


Is there any way in which we can restrict access to the Data folder to only our applications?





Aucun commentaire:

Enregistrer un commentaire