Murach's ASP.NET 2.0 Upgrader's Guide: C# Edition
How to use the login controls

This chapter shows you how to use the new Web Site Administration Tool and login controls to control user access to a site without writing a single line of code...a time-saving improvement over earlier versions of ASP.NET.

Chapter 9 How to use the login controls
An introduction to authentication 290
Three types of authentication 290
How forms-based authentication works 292
How to set up authentication and authorization 294
How to start the Web Site Administration Tool 294
How to enable forms-based authentication 296
How to create and manage roles 298
How to create and manage users 300
How to create and manage access rules 302
How to modify the membership and role provider 304
How to use the ASP.NET 2.0 login controls 306
How to use the Login control 306
How to use the LoginStatus and LoginName controls 308
How to use the CreateUserWizard control 310
How to use the PasswordRecovery control 312
How to use the ChangePassword control 314
How to use the LoginView control 316
The Authentication application 318
The pages 318
The directory structure 322
The access rules 322
The web.config files 324
How to use code to work with authentication 326
How to use the Membership class 326
How to use the MembershipUser class 328
How to use the FormsAuthentication class 330
How to use the Roles class 332




Murach's ASP.NET 2.0 Upgrader's Guide: C# Edition

Learn more about this book

Add this book to your cart



Our Ironclad Guarantee

First, try our books for 90 days. Then, if you aren't completely convinced that our books are the best ones you've ever used, you can return them for a full refund...no questions asked.