Best approach to store login credentials for website

Posted by Zerotoinfinite on Stack Overflow See other posts from Stack Overflow or by Zerotoinfinite
Published on 2010-05-28T17:20:27Z Indexed on 2010/05/28 17:31 UTC
Read the original article Hit count: 196

Filed under:
|
|

I have created a site in ASP.NET 3.5 & I have only 2 or 3 user login IDs who can login to the website.

What would be the best way to save these login details? Which of these approaches, or others, would be most suitable?

  1. Using Forms Authentication, and saving credentials (username and password) in web.config
  2. to create a text file in directory and modify it

Which approach is best from a security and maintenance perspective? What other approaches are suitable for a login system for ASP.NET?

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET