top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What are the different Types of authentication in C#/.NET?

0 votes
1,155 views
What are the different Types of authentication in C#/.NET?
posted Aug 25, 2015 by Sathyasree

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

2 Answers

0 votes

1.Windows authentication
2.Forms authentication
3.Passport authentication
4.Anonymous access

1.Windows authentication
If your application is targeted for use inside an organization, and users accessing the application have existing user accounts within the local user database of the Web server or Active Directory, you should authenticate users with Windows authentication.

2.Forms authentication
By default, Form authentication is used.
Form-based authentication presents the user with an HTML-based Web page that prompts the user for credentials.

3.Passport authentication
You can also authenticate users using a service from Microsoft called Passport. Passport
is a centralized directory of user information that Web sites can use, in exchange for a fee, to authenticate users. Users can choose to allow the Web site access to personal
information stored on Passport, such as the users' addresses, ages, and interests.

4.Anonymous access
You can explicitly disable authentication for your application if you know that it will be used only by anonymous users.

<configuration>
<system.web>
<authentication mode="None" />
</system.web>
</configuration>
answer Aug 25, 2015 by Shivaranjini
0 votes

1.Windows authentication
2.Forms authentication
3.Passport authentication
4.Anonymous access

answer Mar 29, 2017 by Aanchal Rastogi
Similar Questions
+3 votes

By-default all the methods & variables in class are private.

In C#.net Main() method is private then how compiler access this Main() Method out side the class because compiler is not part of our program then how compiler access this Main() method?

Here we loose our data abstraction property ? Can anyone put some light on it?

+2 votes

Is there any VB.NET equivalent to the C# var keyword?

...