
Authentication Methods | 203
ASP.NET
Security
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Example 9-5 shows the contents of the Users.xml file. This example shows how
simple an XML file for this purpose can be.
Passport Authentication
The Passport authentication module enables ASP.NET applications to take advan-
tage of Microsoft’s Passport universal sign-in infrastructure to authenticate users.
The Passport system allows each user to have a single password and login (the
email address associated with their Passport account) for multiple web sites or
applications. This can greatly simplify the login process from the user’s perspec-
tive, as well as reduce the administrative overhead associated with maintaining
user accounts (such as having to send forgetful users their password via email).
To enable Passport authentication in ASP.NET, you need to download and install
the Passport SDK. See http://www.passport.com/business for instructions on where
and how to obtain the SDK.
While you can obtain the Passport SDK and set up a test site for
free, you have to pay a license fee to use Passport in a production
application. Make sure that you understand all the costs involved
before implementing Passport authentication.
Once you’ve installed the SDK, you need to configure Passport according to the
accompanying instructions. Finally, you