Best practices to store CreditCard information into DataBase

前端 未结 7 1023
别那么骄傲
别那么骄傲 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 14:01

    I suggest you encrypt card numbers with a strong algorithm( similar AES) and a long secret key.

    Then,keep your secret key in a secure place similar an external hard or optical disk. When you need to secret key,use external hard.

    If you are using a shared host, you have to store your secret key in an external device.

    Strict your database

    1. Define strict users for your database
    2. Remove root user of your database if it is not needed.
    0 讨论(0)
提交回复
热议问题