I have a windows desktop app (written in Delphi) that allows users to store and retrieve files.
- The application stores these files in a single network shared folder (Active Directory).
- The various users of the app do not all have permission to see all of the files, these permissions are controlled by the app.
Currently we have to allow every user of the app access to the shared folder, so a malicious user could find the directory and gain access to all of the files.
Is there a way that the app can act as a specific user such that only the "app as a user" and not each individual needs permission to the shared folder?