.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> ASP.Net >> Post New Question Subscribe to Interview Questions

Difference between login controls and Forms authentication?

Posted By :Jack Smith     Posted Date :October 29, 2012    Points :40   Category :ASP.Net 

Forms authentication can be easily implemented using login controls without writing any code.

Login control performs functions like prompting for user credentials, validating them and issuing authentication just as the FormsAuthentication class.

However, all that’s needs to be dne is to drag and drop the use control from the tool box to have these checks performed implicitly.

The FormsAuthentication class is used in the background for the authentication ticket and ASP.NET membership is used to validate the user credentials.

You can also find related Interview Question to Difference between login controls and Forms authentication?  below: 

What is the difference between login controls and Forms authentication?

  
Login controls are an easy way to implement Forms authentication without having to write any code. For example, the Login control performs the same functions you would normally perform when using the FormsAuthentication class—prompt for user credentials, validate them, and issue the authentication ticket—but with all the functionality wrapped in a control that you can just drag from the Toolbox in Visual Studio. Under the covers, the login control uses the FormsAuthentication class (for example, to issue the authentication ticket) and ASP.NET membership (to validate the user credentials). Naturally, you can still use Forms authentication yourself, and applications you have that currently use it will continue to run. (More...)

What is the difference between login controls and Forms authentication?

  
Forms authentication can be easily implemented using login controls without writing any code.
Login control performs functions like prompting for user credentials, validating them and issuing authentication just as the FormsAuthentication class.
However, all that's needs to be dne is to drag and drop the use control from the tool box to have these checks performed implicitly.
The FormsAuthentication class is used in the background for the authentication ticket and ASP.NET membership is used to validate the user credentials. (More...)

difference between datagridview of window forms and data grid controls

  
difference between datagridview of window forms and data grid controls (More...)

Forms-Based Authentication

  
Forms-based authentication is used to implement customized logic for authenticating users without having to worry about session management using cookie. It gives developer more access to specify which files on the site can be accessed and by whom, and allows identification of a login page [3,7].
This mechanism will automatically redirect the unauthenticated user to login page and ask them to provide proper credentials (e.g. username/password combination). If login is successful, ASP.NET then issues the cookie to the user and redirects them to specific resources that they originally requested. This cookie allows the user to revisit particular protected resources without having to repeatedly log in.

Shashi Ray (More...)

What is Forms Authentication?

  
Forms authentication uses an authentication ticket that is created when a user logs on to a site, and then it tracks the user throughout the site. The forms authentication ticket is usually contained inside a cookie. (More...)

What is the basic difference between authentication and authorization?

  
Authentication is a process of identifying a user based on their credentials like userID and Password.
Authorization is process of determining whether an authenticated user is allowed to access a specific resource or not.
(More...)

Difference between authentication and authorization?

  
Authentication is a process of identifying a user based on their credentials(means user id and password).

Authorization is process of determining whether an authenticated user is allowed to access a specific resource or not. (More...)

Difference between Authentication and
authorization?

  
Authentication is verifying the identity of a user and authorization
is process where we check does this identity have access rights to the system. (More...)

What is the difference between Classic mode authentication and Claims-based authentication?

  

As the name implies, classic authentication supports NT authentication types like Kerberos, NTLM, Basic, Digest, and anonymous. Claims based authentication uses claims identities against a against a trusted identity provider. (More...)

How do you sign out from forms authentication?

  
The FormsAuthentication.Signout() method is used to sign out from the forms authentication. (More...)

What is the difference between custom controls and user controls

  
Custom controls are basically compiled code i.e. DLLs. These can be easily added to toolbox, so it can be easily used across multiple projects using drag and drop approach. These controls are comparatively hard to create.

But User Controls (.ascx) are just like pages (.aspx). These are comparatively easy to create but tightly couple with respect to User Interface and code. In order to use across multiple projects, we need to copy and paste to the other project as well. (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend