How do I keep a mySQL database secure?

前端 未结 5 1177
-上瘾入骨i
-上瘾入骨i 2021-02-08 09:46

I\'m going to be implementing a PHP/mySQL setup to store credit card information.

It seems like AES_ENCRYPT/AES_DECRYPT is the way to go,

5条回答
  •  故里飘歌
    2021-02-08 10:22

    I agree, but don't the cc if you don't need too. But if you really have too, make sure the file that have it is not accessible on the web. You can write a binary that would return the key. This way it's not store in clear text. But if your server is compromise it's still easy to get it.

提交回复
热议问题