Say if I built a windows application that reads files from a network folder. The network folds restrict the access to only one user \"fooUser\". The application is installed
You can check if this question LogonUser and delegation would help you.