ASP.NET Basics

HTML Basics
ASP.NET Web Server
Advanced HTML
Application Designing
Using Visual Studio
ASP.NET Standards
ASP.NET Styling
ASP.NET Navigation

ASP.NET Tips

ASP.NET Validation
HTML forms
CSS Styling
CSS Advanced
ASP.NET Features
ASP.NET Image Effects
Common mistakes
DB Design tips

Building Applications

Design Secure Apps
Build Secure Apps

1. Designing the User Authorization application

« Previous Chapter

Next Chapter »

The application requires users to log in to gain access to the application’s content pages which do not contain any content because this application is made to demonstrate only the User Authentication features in ASP.NET 2.0. If the user hasn’t registered, the application allows the user to create an account. And if the user forgets his or her password, a password recovery feature can send the user’s password via e-mail. The application also includes a page that lists the name of each user that’s currently logged in. And finally, the application distinguishes between ordinary users and administrators, who can access a special administrator’s page.

As mentioned before, the User Authentication application uses ASP.NET 2.0’s inbuild authorization features. The following are some of the authorization features used for the User Authentication application.

  • SQL membership provider

    Used in managing the user database for the User Authentication application. The default SQL membership provider is sufficient enough for all the applications in Building Apps. You also have the capability to code a custome provider of your own,  if you need to customize your application with additional data other than the username, passpword, the secret questions and answers or even if you want to use a totally new database of your own.
  • New login controls

    The User Authentication application is completely built using the new login controls, except the User List page.
  • Master Page

    Master Pages were used in the User Authentication application to maintain a consistency in the layout of the web application. If you require any custom formatting to be done on the pages, you can always use the AutoFormats or themes of ASP.NET 2.0.

« Previous Chapter

Next Chapter »

Table of Contents

» Chapter 1 - Designing the User Authorization application
        Chapter 1.1 - The Folders used
        Chapter 1.2 - The web.config files used
Chapter 2 - Building the pages of the User Authentication application
        Chapter 2.1 - The Master Page
        Chapter 2.2 - The Content/Home page
        Chapter 2.3 - The Administration page
        Chapter 2.4 - The Login page
        Chapter 2.5 - The Registration page
        Chapter 2.6 - The Recover Password page
        Chapter 2.7 - The Recovery Confimration page
        Chapter 2.8 - The Change Password page
        Chapter 2.9 - The User List page

[top]