ASP.NET version of "Login & Password"

By John Peterson

A very simple introduction to forms authentication in ASP.NET. The sample includes examples of the three files you'll need in order to password protect a page or section of your web site using ASP.NET: a login page, a page to protect, and an appropriately set up web.config file.

About the Author

From ASP101

Articles originally posted on



  • Multimedia Specialist

    Posted by Tim on 11/14/2012 08:55am

    Hello, I got the login page up, but when logging in, it goes right to default.aspx I also noticed I can go right to bypassing login Here is my web.config

  • aspcodes

    Posted by travies on 09/15/2012 03:20pm

    i need codes not echus and ek ek

  • compose

    Posted by anil kumar on 05/15/2012 11:47pm


Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date