Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Authentication for asp.net website without using any database

Is there any way to provide user log-in without the need for a DB. We are deploying a system to control some hardware and the customer wants an interface they can access from a browser, but they also want to provide log-in to prevent just any body from accessing it.

I have no reason for a DB to implement what I need. I would hate to have to install a DB on the box just to provide authentication.

Pretty sure I am going to use a MVC web project.

like image 948
Robin Robinson Avatar asked Nov 02 '09 16:11

Robin Robinson


People also ask

What are the three forms of authentication available for securing an ASP.NET website?

ASP.NET supports Forms Authentication, Passport Authentication, and Windows authentication providers.

How many types of authentication ASP.NET does not supports?

The steps of the authentication workflow depend on the type of authentication being used by the web application. ASP.NET supports three types of authentication: Windows, Passport, and forms.

Which is the default authentication method when you create a new web application project?

Windows Authentication mode provides the developer to authenticate a user based on Windows user accounts. This is the default authentication mode provided by ASP.Net. You can easily get the Identity of the user by using User.Identity.Name.


1 Answers

Using forms authentication you can store the credentials in the config file. Check out this MSDN Link

like image 63
JoshBerke Avatar answered Nov 02 '22 00:11

JoshBerke