c# - what Windows account should a service run under to access network sql servers -


i considering creating windows service run periodically , query networked databases , store information on local machine (please don’t ask why!). service run when there no 1 logged on computer locally. account should service run under localservice, localsystem or network. username , password provided networked databases including local.

i'd create specific domain account , grant rights both sql server , whatever local store going use. if want use sql credentials connect db, local account (with access local resources) or higher privileged user (like localsystem).


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -