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.
ASP.NET supports Forms Authentication, Passport Authentication, and Windows authentication providers.
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.
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.
Using forms authentication you can store the credentials in the config file. Check out this MSDN Link
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With