Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
rmc
· 14y ago · 0 comments
In reality you arent using 2 salts, you are using one unique salt per user, each users salt starts with the same few bytes though.
Comments
[–]
Misiek
14y ago
yes, I put the first salt in database and the second salt under www-root. Hacker who hack the database only will not know the fist salt.
[–]
leftnode
14y ago
I think you have to assume worst case: if they have access to your database, they have access to your web root. It might not be the case, but you should assume that.