WebApp Sec mailing list archives

Re: storing SSNs, CCNs, password in the DB


From: Paul Johnston <paul () westpoint ltd uk>
Date: Mon, 28 Feb 2005 09:57:37 +0000

Hi,

You may be able to steal a trick from unix password files and site-step the problem.

Rather than storing those details, store a hash of them, using a secure hash algorithm. MD5 should be fine, despite the recent collision weakness. This allows you to check the incoming details, but an attacker cannot easily reconstruct the details from the stored data.

Regards,

Paul


Francesco wrote:

It's for a web-based financial application (users accessing credit-card
transaction information, signing in with their card number, PIN and last
4 of SSN) so we pretty much *have* to have that information in the DB to
compare at logon.
--
Paul Johnston, GSEC
Internet Security Specialist
Westpoint Limited
Albion Wharf, 19 Albion Street,
Manchester, M1 5LN
England
Tel: +44 (0)161 237 1028
Fax: +44 (0)161 237 1031
email: paul () westpoint ltd uk
web: www.westpoint.ltd.uk


Current thread: