Authentication for an app with few users

A simple way to handle authentication in a Web application using ASP.NET when only a few users are involved is to specify the user credentials in the Web.Config file itself or get the user details from a XML file....without using any database!

In the Web.config authentication section, the user names and passwords can be listed out as clear text or encrypted (MD5/SHA1).

Using FormsAuthentication.HashPasswordForStoringInConfigFile Method a clear text password can be hashed.

Related links:

Comments

Popular posts from this blog

Maven Crash Course - Learn Power Query, Power Pivot & DAX in 15 Minutes

"Data Prep & Exploratory Data Analysis" course by Maven Analytics

Oracle Cloud Infrastructure 2024 Generative AI Professional Course & Certification Exam (1Z0-1127-24)