SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 What should be data type of password
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Mhd_sam
Starting Member

India
2 Posts

Posted - 09/08/2013 :  01:34:01  Show Profile  Reply with Quote
Hello All,

Hope you all are having great time.

Just a small question for now. What should be data type of password field?

Kindly get back to me if any thing require.

Thanks in advance!!

Regards,
Sameer

Mhd_sam
Starting Member

India
2 Posts

Posted - 09/08/2013 :  01:35:58  Show Profile  Reply with Quote
Just for more clarification:

What should be data type of password field in sql?
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

Sweden
30281 Posts

Posted - 09/08/2013 :  05:07:15  Show Profile  Visit SwePeso's Homepage  Reply with Quote
You should never store a password in a table. Store the hash and compare the hash values.
It is so much more secure.
A hash value is typically a binary column. SHA-2 is BINARY(32).


Microsoft SQL Server MVP, MCT, MCSE, MCSA, MCP, MCITP, MCTS, MCDBA
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000