Hi all,
I just wanted to start a discussion about how you think about that email addresses are stored in the database.
Each day websites are hacked and most of the time you read that x amount of email addresses has been hijacked from the database.
You can check here if your mail address has been hijacked in the past: https://haveibeenpwned.com/
Now I'm very convinced that mooSocial is very secure. On daily base I'm updating my infrastructure and will monitor my site using different tools, and all of them tell me that my site is secure, which is great!
BUT,
because all websites are not 100% secure, it could be possible that your site is getting hacked. If a hacker does have access to your database it currently does have access to all your users email addresses (because they are stored as plain text in the database).
Therefore my suggestion: Why not store the mail addresses encrypted in the database and using a salted hash for de-encryption? (as it currently does for password storage). Then create a decryption php function in case mails need to be send.
If possible of course, once implemented.. this would be a killer function.
I like to hear your thoughts about this
Have a good weekend!