
Authentication Methods | 191
ASP.NET
Security
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Authentication Methods
Authentication is the process of positively identifying the person or program
making a request. Authentication does not inherently grant access to resources (a
function performed by authorization), but provides developers (or the runtime)
with a known identity on which to base the decision of whether the request
should be granted.
In a classic ASP application, you had essentially two options for authenticating
users: rely on IIS to authenticate users based on Windows accounts and later
authorize these users based on NT Access Control Lists (ACLs); or roll your own
authentication from the ground up to authenticate users against a back-end
credentials data store (or potentially against Microsoft Active Directory). Each
option had disadvantages. Windows authentication’s most secure mode, Inte-
grated Security, required all users to use Internet Explorer (and would not work
over many proxy servers), while the roll-your-own option required an extraordi-
nary amount of work to build and test.
ASP.NET provides three built-in options for authentication:
Windows authentication
Provides similar functionality to IIS authentication in classic ASP, though
with some important differences, described in the next section. Windows
Authentication ...