Active Directory Security Principal Accounts

Understanding Active Directory Security Principal Accounts

Active Directory consists of a considerable number of objects, and variety of objects, of which, security principal accounts are one. Security principal accounts are Active Directory objects that are assigned unique security identifiers (SIDs), and are therefore used in authentication and Active Directory security. A security principal account can be defined as a user account, group account, or computer account that is assigned a SID, and is also assigned permissions to access certain network resources or Active Directory objects, and to perform certain actions on these objects. The SID is used to identify the user, group or computer. Access to Active Directory objects is controlled through granting permissions or denying permissions to security principals. A permission can be defined as the ability to access and perform an action(s) on an object. Permissions to an object are granted or denied by Administrators, or by the owner of the particular object. The security settings that are defined for a user, group, or computer determines and controls whether the particular security principal account has access to Active Directory, client computers, member servers, domain controllers, applications, and other network resources and services.

The common Active Directory objects that are regarded as security principal accounts include the following:

A few common characteristics of security principal accounts are listed below:

Understanding the Role of Security Identifiers (SIDs) assigned to Security Principal Accounts

SIDs assists in controlling access to resources in the network. A unique SID is assigned to each security principal account when you create the accounts. A SID is used because it remains constant, even when the names of objects are changed.

The SID of a security principal account consists of the following key components:

The domain ID is identical for each object within the domain. The relative identifier on the other hand is unique for each security principal. A domain in Active Directory has one domain controller that serves the role of Relative ID (RID) Master. It is the RID Master which generates the relative identifiers that are used when SIDs are created. Only one domain controller in the domain is assigned this role because any domain controller in the domain can be used to create security principal accounts, and each RID has to be unique. The domain controller serving the RID Master role controls the RID pool. This is a pool of relative identifiers that are distributed to domain controllers so that they can assign them to security principal accounts when they are created. When a domain controller's relative identifiers are close to being depleted, the domain controller requests additional relative identifiers from the RID Master so that its supply can be replenished.

As mentioned previously, the SID assigned to a security principal account remains unique. What this means is that when the user name or any other attribute associated with a particular object changes, the SID remains the same. As you can see, it would not make any sense to control object access through the name of an object - object names might need to be changed.

A SID has the following format: S-R-IA-SA-SA-RID:

The following section examines the manner in which the SIDs of security principals is used. The Local Security Authority (LSA) creates an access token when a user logs on to the domain. In fact, each time that a user logs on to the domain, an access token is created. It is the access token that controls the access of the particular user to resources in the domain.

The access token created by the LSA for a user contains the following elements:

The moment that a user tries to access a network resource, the system references the information in the access token and compares it to the security descriptor of the resource which the user wants to access. A security descriptor holds the following access control lists:

The process that occurs when a user attempts to access a resource is summarized below:

In addition to those SIDs that represent user, group and computer accounts, there is specific SIDs that represents standard accounts and groups, which are called well-known security identifiers. Well-known SIDs typically stem from group membership assigned by the operating system. Well-known SIDs is found in a Windows Server 2003 Active Directory environment.

The different types of well-known SIDs are listed below:

Although it is never typically necessary to view SIDs, there are command-line tools available that can be used to view SIDs.

How to create and set permissions for security principal accounts

To create a new user account, use the steps outlined below:

  1. Open the Active Directory Users and Computers console
  2. In the console tree, right-click the container in which the new user account should be created, and then select New, and then User from the shortcut menu.
  3. When the New Object - User dialog box appears, enter the user's first name, initials, and last name in the provided fields. The information specified in these fields is used to populate the Full Name field. This is the user's display name.
  4. Enter the logon name for the user in the User Logon Name field, and select the domain to which the account should be associated with.
  5. The initial characters of the User Logon Name field populate the User logon name (pre-Windows 2000) field. Click Next.
  6. Proceed to set the password of the user in the Password and Confirm Password fields, and enable any applicable options available in the dialog box for the new user account.
  7. Click Next, and then click Finish.

To set permissions to objects for a security principal account, use the steps outlined below:

  1. Open the Active Directory Users and Computers console.
  2. Ensure that Advanced Features are enabled. This can be verified on the View menu.
  3. In the console tree, right-click the object that you want the security principal to be able to access, and click Properties on the shortcut menu.
  4. Click the Security tab, and then click Add
  5. When the Select Users, Computers, Or Groups dialog box opens, in the Enter The Object Names To Select box, enter the name of the security principal that you want to set permissions for.
  6. Click OK.
  7. When the Permissions for box opens, use the Allow and Deny checkboxes to specify permissions.
  8. Click OK.


Top 5 Free Networking Tools

Bookmark Active Directory Security Principal Accounts

Latest Blog Posts


English English GermanGerman SpanishSpanish FrenchFrench ItalianItalian PortuguesePortuguese RussianRussian DutchDutch
GreekGreek HindiHindi JapaneseJapanese KoreanKorean ChineseChinese Chinese (Simplified)Chinese (Simplified) ArabicArabic

Copyright 2009 Tech-FAQ. All rights reserved. Privacy Policy.