This is a mirror of official site: http://jasper-net.blogspot.com/

Creating a Web Site with Membership and User Login – Implementing Forms-based Authentication

| Sunday, August 8, 2010
Controlling access to a web site

Building an Infrastructure for Authentication and Authorization
It is very common to restrict access to a web site.

A infrastructure to manage logins needs to be implemented. We will need to provide a way for users to log in (authenticate), such as by prompting users for a name and password.

The application must also include a way to hide information from anonymous users (users who are not logged in). ASP.NET provides Web site project templates that include pages that let you create a Web site that already includes basic login functionality.

What this post is about
This post is about manually building this infrastructure using ASP.NET controls and ASP.NET membership services to create an application that authenticates users and uses ASP.NET membership to hide information from anonymous users.

Configuring ASP.NET membership services
Defining users

Using login controls to get user credentials and to display information to logged-in users. Protecting one or more pages in your application so that only logged-in users can view them. Allowing new users to register at your site. Allowing members to change and reset their passwords

Create the Web Site
Make your selections from the “File” menu.

Read more: Bruno Terkaly - Developer Evangelist

Posted via email from .NET Info

0 comments: