Hello, Paul.
Although it's impossible to make a host process run under an account other that Network Service or Local System, you could implement one of the following alternatives:
- Run the code that talks to the database from within a ServicedComponent, which can run within a separate host process under any desired user identity. That's the best practice from the security stand point.
- Create a SQL Login for Network Service account. If the SQL database requires a specific low-privilege account, why not use Network Service?
- And what is probably not an option in your case, use SQL authentication with encrypted connection string.
Best regards,
UltiDev Team.
Please donate at
http://www.ultidev.com/products/Donate.aspx to help us improve our products.