ASP.NET Forms Authentication

ASP.NET has powerful server-side user authentication built into it that automatically encrypts authentication cookies and information and can be used to allow users or throw them out of a system accoding to security levels set by the site owner.

Documentation about these features is sparse and complex. Chris Ullman walks you through the ASP.NET authentication procedures, explaining how to customise it to your own requirements.

This tutorial is suitable for intermediate ASP.NET developers.

$2.79
- OR -

Overview

Table of Content:

  • What is Authentication anyway?
  • Using Forms Authentication
  • The Authentication Tag
  • The machine Key Tag
  • The Authorization Tag
  • Using Forms Authentication
  • An example of Selective Access
  • Summary

Chris Ullman

Chris UllmanChris Ullman is an ex-Wrox Press and Glasshaus author who has spent many years stewing in ASP/ASP.NET, like a teabag left too long in the pot. Coming from a Computer Science background, he started initially as a UNIX/Linux guru, who gravitated towards MS during the summer of ASP (1997). Since then he has written on over 20 books, as lead author for the bestselling Beginning ASP/ASP.NET series, and has contributed chapters to books on PHP, ColdFusion, JavaScript, Web Services, C#, XML and other Internet-related technologies too esoteric to mention, now swallowed up in the quicksands of the dot.com boom. Quitting Wrox in August 2001, he continued life as as a freelance developer and author while helping to bring up his first child, Nye.

See All Postings From Chris Ullman >>

Reviews

web.config error

October 31, 2003 by Aron K
I'm reading the "ASP.NET Forms Authentication" article, but the code in the web.config file     <configuration>
      <system.web>
        <authentication mode="Forms">
          <forms name=".DMXDemo" loginUrl="login.aspx" protection="All" 
          timeout="30" />
        </authentication>
        <machineKey decryptionKey="AutoGenerate" validation="SHA1" />
        <authorization>
         <deny users="?"/>
        </authorization>
      </system.web>
    </configuration>
  Gives me an error: http://uswebpro.com/jwubooks/default.aspx

Great tutorial but not special for Dreamweaver

October 30, 2004 by Rene Bandsma

This article is very good learning the basics about authentication but has nothing to do with Dreamweaver. All code what is written is not made by server behaviours. This article doesn't combine ASP.net and Dreamweaver as well as I expected.

The reason to buy this article was because I want to learn to program ASP.net pages easily with Dreamweaver instead of the Web Matrix or Visual Studio.

Summary: 100% very good article! TOP, but I miss the Dreamweaver part

You must me logged in to write a review.