• subscribe
May 27, 2008 12:00 AM

Securing AD Service Accounts

Windows IT Pro
InstantDoc ID #98791

A: Logon rights let you prevent users from logging on with accounts that you’ve created expressly for a service. There are five logon rights, each of which governs whether an account can log on a certain way. You can find these logon rights in the Microsoft Management Console (MMC) Group Policy Object Editor snap-in under Computer Configuration Windows Settings\Security Settings Local Policies\User Right Assignments. Windows requires you to have the Access this computer from the network logon right to access anything provided by your server or Microsoft IIS. You need the Log on locally right to log on interactively at the console of a computer and the Allow log on through Terminal Services, logon right to log on via an RDP connection. These are the only logon rights a user can directly use. The other two rights, Log on as a batch job and Log on as a service let scheduled tasks and services run under a specified account.

The key to preventing users from logging on with an account that you’ve created for a service is to make sure such accounts don’t have any logon rights other than the Log on as a service right. I recommend creating a group called Service Accounts, then assigning that group the deny version of each logon right. Because deny rights override allow rights, no member of Service Accounts will be able to log on except as a service. The only problem with using this method is that a service that needs to access other Windows computers on the network under the service’s domain account identity won’t be able to. For example, a service on server A that needs to pull files from a shared folder on server B requires the Access this computer from the network logon right on server B to do so.

—Randy Franklin Smith



ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here
  • SP1?
    I know there is a SP1 for SQL 2008 R2 available....and there is a "feature pack" as well... ...
  • SQL database mirroring
    I have SQL Server 2008 R2 Enterprise 64bit on Windows 2008 R2 Enterprise 64bit.  Each SQL Server has...
  • Dell Compellent Disk Drive
    Does anybody has experience with Dell Compellent Disk Drive? Basically, this system manages all disk...
  • Sql server performance tuning
    I need to find a tool that help me to optimize sql server,queries,improve the performance and solve ...