I have the control of creating username and password for various users of an admin panel. I have not created a panel for this and would like to add username password directly into the database. Password is going to save in encrypted format (SHA1).
1) will the user name should be user friendly or something like this #$#%7787$%
rajesh sahar...
Member
225 Points
554 Posts
right way of choosing username and password in a secure admin panel ?
Nov 20, 2012 07:05 AM|LINK
I have the control of creating username and password for various users of an admin panel. I have not created a panel for this and would like to add username password directly into the database. Password is going to save in encrypted format (SHA1).
1) will the user name should be user friendly or something like this #$#%7787$%
2)same with password.
Thanks
adeelehsan
All-Star
18319 Points
2746 Posts
Re: right way of choosing username and password in a secure admin panel ?
Nov 20, 2012 10:38 AM|LINK
Username can remain plain whereas you should go ahead with the password encryption.
MCPD ASP.NET 4.0 and 3.5, MCTS WSS, MOSS, SharePoint 2010, MCT
Microsoft Community Contributor Award 2011
BrockAllen
All-Star
27574 Points
4912 Posts
MVP
Re: right way of choosing username and password in a secure admin panel ?
Nov 20, 2012 03:09 PM|LINK
A single hash is not the modern way to store passwords. Use the new-ish Crypto APIs instead:
http://brockallen.com/2012/10/19/password-management-made-easy-in-asp-net-with-the-crypto-api/
DevelopMentor | http://www.develop.com
thinktecture | http://www.thinktecture.com/
rajesh sahar...
Member
225 Points
554 Posts
Re: right way of choosing username and password in a secure admin panel ?
Nov 21, 2012 07:07 AM|LINK
Thanks for making the password more secure.