Author: Angry ASP.net Nerd | Posted on: 4/2/2010 1:22:13 PM | Views : 271

So, I started watching Joe Stagner's security videos and I can't help being confused about all those ways you can authenticate an user. Take this simple example:
It's a Default.aspx file with just a Login control and a LoginView control (to display the LoginName and logout link while logged in). Really simple...

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html> <html> <head> <title></title> </head> <body> <form id="form1" runat="server"> <div> <asp:Login ID="Login1" runat="server" onauthenticate="Login1_Authenticate" VisibleWhenLoggedIn="false"></asp:Login> <asp:LoginView ID="LoginView1" runat="server" ...

Go to the complete details ...