At the moment I have a service which will execute from time to time a .exe
file. As the service is run as the SYSTEM
user, these subprocesses will also be executed by SYSTEM
. Due to security reasons I would like these processes to be executed in the context of a different user without administrative priviliges. Is there a way to do this without having to store the username and the password of this user somehow? If not: How can I save these credentials in a secure way?
I am using C#
for the service, but I think that this questions can also be answered in general.