Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


February 2002

Should You Use the Authenticated Users Group?

RSS
Subscribe to Windows Web Solutions | See More Security Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

While reviewing the NTFS permissions on my server, I found that the Everyone group has Read and Execute permissions on many files and folders. To tighten security, some publications suggest using the Authenticated Users group instead of the Everyone group. However, I'm not sure how the Authenticated Users group is more secure. What's the difference between the Everyone group and the Authenticated Users group?

The differences between the Everyone, Users, and Authenticated Users groups aren't apparent from the group names. In a nutshell, the Everyone group is the least secure of these groups because it does indeed include everyone. The Everyone group often contains the same set of users as the Users and Authenticated Users groups. However, if you've enabled the Guest account, you'll find that users who have logged on as Guest are members of Everyone but not members of Users or Authenticated Users.

The difference between the Users and Authenticated Users groups is a bit more esoteric. After all, if all users must authenticate, aren't all users authenticated users? If they are, why do you need a different group called Authenticated Users? The answer is that not all members of the Users group are authenticated. Windows networks include the ability to have computer-to-computer connections that involve null sessions. Computers use these sessions to exchange lists of shared folders, printers, and other network resources; workstations use null sessions to connect to domain controllers (DCs) before users authenticate to the domain. (For more information about null sessions, see the Microsoft articles "Local System Account and Null Sessions in Windows NT" at http://support.microsoft.com/ default.aspx?scid=kb;en-us;q132679 and "Restricting Information Available to Anonymous Logon Users" at http://support.microsoft.com/default.aspx?scid=kb;en-us;q143474.)

Don't confuse null sessions, which are sometimes called anonymous sessions or anonymous connections, with Anonymous authentication in IIS. These concepts are completely different. Users who use Anonymous authentication to access IIS use the built-in IUSR_computername account and are members of the Everyone, Users, and Authenticated Users groups.

The inclusion of null connections in User group membership represents a security problem. Consequently, Microsoft introduced the Authenticated Users group around the time of Windows NT 4.0 Service Pack 3 (SP3) to include users who have authenticated but exclude null sessions. So, to answer your question, yes—for NTFS permissions, you should use Authenticated Users instead of Everyone.

End of Article



Reader Comments
The Question is important, but is still difficult to understand the differences between the various User groups

Anonymous User November 24, 2004 (Article Rating: )


I think the statemant that Guests are not member of "Authenticated User is not quite correct, because
If I have a user which is only member of Guests and not member of users Group and Authenticated users have the local permission to access the computer from network, this user can connect. If I delete the Authenticated user frm this right, the connection is not possible.

Anonymous User December 17, 2004


Great article, Found it very helpfull

Anonymous User March 26, 2005 (Article Rating: )


According to the Users and Passwords dialog in Windows 2000: "Guests have the same access as members of the Users group by default, except for the Guest account which is further restricted". This might answer the previous poster's comment: if you have a user which is a member of Guests, but not "Guest", it will have the same access as a User. Only the "Guest" account itself would not be considered "Authenticated".

Anonymous User May 07, 2005 (Article Rating: )


I'm confused by this statement:

"The inclusion of null connections in User group membership represents a security problem"

Does this imply that a 'null' connection is considered a member of the 'Users' group?

After reading the linked-to documents, it appears 'null' connections are used to enumerate shared network resources. This ability is configurable from the registry.

I could not find mention of 'null' connections being associated with the 'Users' group. Nowhere did the articles indicate that a 'null' connection was a member of, or equivalent to a member of the 'Users' group.

Instead, it appears the only security context that includes 'null' connections is the 'Everyone' group, as this association is mentioned several times in the document "Local System Account and Null Sessions in Windows NT"

specifically:

When this context is used to access the network, a null session is used. This produces the following context on remote computers:

Default Owner: Everyone
User: Everyone
Groups: AnonymousLogon, Network

It appears the main aspect of the 'Authenticated Users' group is that it differs from the 'Everyone' in that it does not allow 'null' connections.


Thus, I assume that the above quoted sentence should instead read: "The inclusion of null connections in 'Everyone' group membership represents a security problem"
notice the 'Everyone' in place of 'Users'.


also:

The user 'Guest', when logged on, is a member of both 'Everyone' and 'Authenticated Users', as the guest account, is indeed 'authenticated'. Accordingly, users in the 'Guests' group, when logged on, are also considered members of 'Everyone' and 'Authenticated users'

see the bottom of the page at:
http://technet.microsoft.com/en-us/library/bb726982.aspx
regarding this.

hunterdg October 26, 2007 (Article Rating: )


I also think there is something incorrect about this article.

In the MS KB article 143474, it says that null session connections are considered ANONYMOUS LOGON users. This article says that null session connections are part of the Users group, which means ANONYMOUS LOGON is part of the Users group. I really don't think ANONYMOUS LOGON is part of the Users group. I have seen numerous MS documentation say that as of XP SP2, ANONYMOUS LOGON is no longer part of the Everyone group. If it had also been part of the Users group, they would have also mentioned the Users group in addition to the Everyone group.

twitch January 19, 2008 (Article Rating: )


So many fail at reading comprehension.

Chadipatrick April 16, 2008 (Article Rating: )


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
The Memory-Optimization Hoax

Don't believe the hype. At best, RAM optimizers have no effect. At worst, they seriously degrade performance. ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

WinInfo Short Takes: Week of November 24, 2008

An often irreverent look at some of the week's other news, including a Vista Capable dismissal request, Zune price reductions, Morrow musings, Novell and Microsoft sitting in a tree ... two years later, Yahoo!, IE 6 on Windows Mobile, and so much more ...


Security Whitepapers The Impact of Messaging and Web Threats

Why SaaS is the Right Solution for Log Management

Protecting (You and) Your Data with Exchange Server 2007

Related Events Top 10 Email Security Challenges and Solutions

Introduction to Identity Lifecycle Manager "2"

Delivering Reliable and Effective Web-Based Applications

Check out our list of Free Email Newsletters!

Security eBooks Spam Fighting and Email Security for the 21st Century

Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

Related Security Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing