September 2018
Intermediate to advanced
764 pages
20h 6m
English
Using our current scheme, the digests created by the client are stored directly in the database. Now, if hackers were to gain access to the database server, they would be able to authenticate as any user. Furthermore, since the attacker would have both the digest and salt, they could potentially brute-force a user's password.
One way to mitigate this issue is to use a pepper—a variation of a salt, with the following differences:
Here's how the authentication method would work with the ...
Read now
Unlock full access