Tingle
Tingle copied to clipboard
Improve security
@Pysis868's notes from Trello:
I think it's recommended to put a moderate effort into account data. Let's think about adding salts/peppers and using good libraries and settings like bcrypt and iterations/usage amount if PHP isn't already handling this well enough for us as it is.
The password_hash
function we use already uses an automatically generated salt and bcrypt, so I'm not too worried about that. It might be worthwhile double checking for things like SQL injection and XSS attacks, but I don't expect either of these to be of too much worry (SQL injection should definitely be handled so long as we're using MySQLi
properly everywhere).