Best approach to store username & password

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:21 UTC
Read the original article Hit count: 146

Hi All,

I have created a site in asp.net 3.5 & my query is this that I have only 2 or 3 login Id (user) who can login to my website, then what would be the better way to save the login details. What I know I am writing below, please let me know which would be the correct approach to achieve this also if their is any nice approach to get this done:

1: to save username and password in web.config file 2: to create a text file in directory and modify it 3: To use form authentication

Please let me know the approach I can use to solve it. thanks in advance

P.S. : I have to create only 2-3 users, or in future may be 1-2 more, that's it.

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET