Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

June 09, 2004 12:00 AM

Selective Authentication

Windows IT Pro
InstantDoc ID #42946
Rating: (1)

Q: When administrators set up trust relationships between forests in a Windows Server 2003 environment, they can enable a feature that Microsoft refers to as selective authentication. What is this feature and how can administrators use it to fine-tune interforest security traffic?

A: When you enable the selective authentication feature of a forest trust relationship, users accessing cross-forest resources from one forest cannot authenticate to a domain controller or resource server (e.g., file server, print server) in the other forest unless they are explicitly allowed to do so. Selective authentication is available for both forest and external trust relationships if both forests are at the highest Windows Server 2003 functional level. This highest functional level, which is also Windows Server 2003's native functional level, requires that all domain controllers run Windows Server 2003. Microsoft added selective authentication in Windows Server 2003 to allow a more granular cross-forest trust definition. In beta versions of Windows Server 2003, Microsoft referred to selective authentication as the authentication firewall. When selective authentication isn't enabled, in terms of access control, all users from the foreign forest become almost perfect peers of the local forest users. This situation exists because foreign forest users are added to the Authenticated Users group of the local forest when they cross the trust. Even though foreign forest users also become members of the Authenticated Users group when you enable the selective authentication option, those users can authenticate to the local forest only after they pass an additional access-control check. Selective authentication is always configured on the outgoing side of a cross-forest trust relationship. You can enable a forest trust relationship's selective authentication function from the Trust Wizard or from the properties of the trust relationship. To enable the function from the trust property sheet, select the Authentication tab and select Allow authentication only for selected resources in the local forest (as Figure 1 illustrates). When you try to access a resource in a foreign forest for which selective authentication has been enabled from a machine in the local forest, you'll see the error Logon Failure: The machine you are logging onto is protected by an authentication firewall. The specified account is not allowed to authenticate to the machine.

To enable users to authenticate to domain controllers in forests for which the selective authentication option is enabled, the forest administrator must change the access control settings of the Active Directory (AD) domain controller objects. To change the settings, use the Microsoft Management Console (MMC) Active Directory Users and Computer snap-in, access the appropriate domain controllers' properties, and give the user the Allowed to Authenticate permission (as Figure 2 illustrates). For example, if users need to access resources on a file server in a forest for which the selective authentication option is enabled, change the access control settings of the file server's machine account.

The additional access control check for the Allowed to Authenticate permission is triggered by a special security identity that is added to a user's access token when the user attempts to access a resource under a forest trust for which the selective authentication option is enabled. This SID is called Other Organization and has the value S-1-5-1000. You can easily check for the SID's presence in a user's access token by using the Whoami command-line tool and the /groups switch.

Related Content:

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

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.