October 2010
Intermediate to advanced
1920 pages
73h 55m
English
You won’t have any fun using the Login controls unless you have confidential information to protect. Therefore, let’s start by creating a page that needs password protection.
Create a new folder in your application named SecretFiles and add the page in Listing 26.1 to the SecretFiles folder.
Listing 26.1. SecretFiles\Secret.aspx

There is nothing special about the page in Listing 26.1. It just displays the message This Page is Secret!.
To password-protect the Secret.aspx page, you need to make two configuration changes to your application: You need to configure both authentication and authorization.
First, you ...
Read now
Unlock full access