Data Encryption

后端 未结 8 2077
挽巷
挽巷 2021-02-14 10:05

A database that stores a lot of credit card information is an inevitable part of the system we have just completed. What I want though is ultimate security of the card numbers w

8条回答
  •  生来不讨喜
    2021-02-14 10:14

    If you are storing the credit card information because you don't want the user to have to re-enter it then hashing of any form isn't going to help.

    When do you need to act on the credit card number?

    You could store the credit card numbers in a more secure database, and in the main db just store enough information to show to the user, and a reference to the card. The backend system can be much more locked down and use the actual credit card info just for order processing. You could encrypt these numbers by some master password if you like, but the password would have to be known by the code that needs to get the numbers.

    Yes, you have only moved the problem around somewhat, but a lot of security is more about reducing the attack footprint rather than eliminating it. If you want to eliminate it then don't store the credit card number anywhere!

提交回复
热议问题