Best practices to store CreditCard information into DataBase

前端 未结 7 1028
别那么骄傲
别那么骄傲 2020-12-07 13:36

In my country the online payments are not an old thing, the first time i saw a web application taking payments directly to a local bank account was last year.

So, Im

7条回答
  •  一整个雨季
    2020-12-07 13:59

    Encrypt encrypt encrypt. Don't decrypt if you don't absolutely have to - don't decrypt to show the last 4 digits. Don't decrypt to tell the user what their card was.

    In fact, if you can, don't even keep the encrypted card numbers in the same physical server as the rest of the user information.

提交回复
热议问题