April 2002
Intermediate to advanced
816 pages
20h 56m
English
Once a user is authenticated, we will need to find out who that person is. In a real world example, code like this could be used for everything from personalization to authentication of specific files. The setup for this sample is as follows (see Listing 15.6):
Anonymous access is disabled in IIS, Integrated Windows Authentication is enabled.
The default authentication mode, Windows, is set in the web.config file.
The authorization settings are not restrictive.
<%@ Page language="c#" Codebehind="default.aspx.cs" AutoEventWireup="false" Inherits="Chapter15.WebForm1" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" ... |
Read now
Unlock full access