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
Post a Comment