..
The latest versions of ASP.NET provide a number of controls for accessing websites that cover most scenarios. These controls include: Login, LoginView PasswordRecovery, LoginStatus, LoginName, CreateUserWizard, and ChangePassword.
Briefly describe their characteristics:
And 'the simplest of the controls of this category and supports the most common login scenarios. It includes two text box for entering username and password, a checkbox to save the password on the local computer and a button for sending data

The control exposes several properties through which you can customize the look and you can also insert a link to the management of user registration and password recovery. The interaction with the ASP.NET authentication component is set as default, but you can also handle authentication on their own through the control's Authenticate event.
This is a very useful control to manage content to be displayed depending on whether the user is authenticated or not. It allows you to see the login status on the status of the user.
It 'a very useful tool in those sites that send the password again to users that forget. This control stores the user account names and proposes a security question, send an email with the password if it is given a valid response.

This is a link clicking on which you are redirected to login page (if the user is currently authenticated) or log out (if the user is authenticated).
Pemette view the currently authenticated user's name.
It 'a tool that allows users to change their password. This is possible if the user is able to provide the old password.

This control allows you to create a new user wizard collecting the information necessary for the purpose. In fact, it requires various information including the new user set password, email address, security question and response.

Clearly in all the sample images I have left the proposed text in English but of course you can customize all the labels and messages to your liking.
When you create a new ASP.NET Web site generates a model that already contains four web forms to manage logins

These web forms are Register.aspx, Login.aspx, and ChangePassword.aspx ChangePasswordSuccess.aspx.
These forms already contain a default version of some of the controls that we have just seen.
If we start the application without touching anything the page that appears is the login

As mentioned earlier, when authenticating a user to practice establishes his identity. Although this information is often very useful when a system becomes more secure authentication is combined with the authorization of users, ie determine exactly what users can do within the pages of our site. To manage this we can use the Web Site Administration Tool, which we have already seen in previous lessons.
| |
ASP (Advanced)
Full course for creating dynamic Web sites. From 39 €. |
| |
ASP.NET (Course)
Full course for building Web applications from 49 €. |
| |
SQL and Database (Course)
Create and manage relational databases. From 39 €. |