How can I store password securely in MySQL and authenticate to external services

后端 未结 4 819
不知归路
不知归路 2021-01-07 02:49

Currently I have a PHP script that connect to a mail server via IMAP and parse new emails to MySQL. credentials to connect to the mail server are stored in MySQL using plain

4条回答
  •  情歌与酒
    2021-01-07 03:17

    I use these functions or some variation of them for login. It tends to be pretty secure, as it salts the passwords and hashes them.

    
    

提交回复
热议问题