Skip to content
Sharp

Authentication · interview question

Which of the following is a potential consequence of storing passwords in plaintext?

Multiple choiceHardchapter-17-curatedpremiumauthenticationsalting-and-bcrypt
Choose one answer
Answer and explanation

Correct answer

D. Compromised user accounts if the database is breached.

Why

Storing passwords in plaintext means that if the database is breached, attackers can immediately access all user passwords, compromising user accounts. This poses a significant security risk and is why hashing is essential.

Test yourself on Authentication

A free test with instant, explained results. No account needed.

Start free test
All Authentication questions →