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:
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
Post a Comment