|
|
|
|
|
by pushpop
2328 days ago
|
|
Another thing to bare in mind, for those who are rolling their own, is how you caress those passwords from the DB. The common approach is a simple DB SQL select. But that then means if your web server gets exploited an attacker can dump the entire password database. The safer option is to write a stored procedures to return or modify that table and set permissions on that table so even your web app creds can’t directly query the password table. Then your web service only has access to check a single password, rather than downloading every hash on the DB. If you can also offload the encryption/decryption and hashing then that is another step forward too. |
|
Hint: it isn’t. But I’ve been penalised for it all the same