Platform SDK: Active Directory, ADSI, and Directory Services

Service Logon Accounts

A service, like any process, has a primary security identity that determines the access rights and privileges that the service has to local and network resources. This security identity (or security context) also determines the potential the service has for doing damage to resources on the local computer and the network.

The security context for a Microsoft® Win32® service is determined by the logon account used to start the service. This chapter covers programming issues and best practices relating to the service logon account used by Win32 services, with a focus on directory-enabled services. This chapter includes the following topics: