Thoughts on security model to store credit card details
Posted
by Faisal Abid
on Stack Overflow
See other posts from Stack Overflow
or by Faisal Abid
Published on 2010-03-16T20:06:38Z
Indexed on
2010/03/16
20:51 UTC
Read the original article
Hit count: 437
credit-card
|security
Here is the model we are using to store the CC details how secure does this look?
All our information is encrypted using public key encryption and the keypair is user dependent (its generated on the server and the private key is symmetric encrypted using the users password which is also Hashed on the database) So basically on first run the user sends in his password via a SSL connection and the password is used with the addition of salt to generate an MD5 hash, also the password is used to encrypt the private key and the private key is stored on the server. When the user wants to make a payment, he sends his password. The password decrypts the private key, and the private key decrypts the CC details and the CC details are charged.
© Stack Overflow or respective owner