Credentials are checked against the users registered in the aspnetDB.mdf file in App_Data : Introduction « Authentication Authorization « ASP.NET Tutorial






<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Please, log in</title>
</head>
<body>
   <div id="pageContent">
        <form id="form1" runat="server">
            <asp:Login ID="Login1" 
                       runat="server" 
                       BackColor="#F7F6F3" 
                       BorderColor="#E6E2D8" 
                       BorderPadding="4" 
                       BorderStyle="Solid" 
                       BorderWidth="1px" 
                       Font-Names="Verdana" 
                       Font-Size="Medium" 
                       ForeColor="#333333">
                <LoginButtonStyle BackColor="#FFFBFF" 
                                  BorderColor="#CCCCCC" 
                                  BorderStyle="Solid" 
                                  BorderWidth="1px"
                                  Font-Names="Verdana" 
                                  Font-Size="0.8em" 
                                  ForeColor="#284775" />
                <TextBoxStyle Font-Size="0.8em" />
                <TitleTextStyle BackColor="#5D7B9D" 
                                Font-Bold="True" 
                                Font-Size="0.9em" 
                                ForeColor="White" />
                <InstructionTextStyle Font-Italic="True" ForeColor="Black" />
            </asp:Login>
        </form>
    </div>
</body>
</html>








21.1.Introduction
21.1.1.Configuring Authentication: Windows Authentication, .NET Passport Authentication, Forms Authentication
21.1.2.Credentials are checked against the firstname and lastname columns of the Northwind.Employees table
21.1.3.Credentials are checked against the users registered in the aspnetDB.mdf file in App_Data