← Quiz: Password Storage Lab: all 10 questions
Quiz: Password Storage Lab · Question 7 of 10
Where should a pepper be kept?
Where should a pepper be kept?
- A.In the same users table as the hashes
- B.Inside each password hash string
- C.Outside the database, such as in an environment variable or a secrets manager
- D.In the browser's localStorage
Answer & explanation
Correct answer: Outside the database, such as in an environment variable or a secrets manager
A pepper only helps if a database leak does not also leak the pepper.
Can you get the rest right without peeking?
Take the timed Quiz: Password Storage Lab quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →