Skip to content

Commit 83c1a64

Browse files
Tweak text about not revealing email addresses.
Signed-off-by: David A. Wheeler <[email protected]>
1 parent 7678159 commit 83c1a64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

secure_software_development_fundamentals.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3611,7 +3611,7 @@ Avoid giving security or sensitive information to untrusted users. If a request
36113611

36123612
* On a failed login, just say “*username or password failed*” or similar - don’t expose whether it was the username or the password that failed. That could tell the attacker that the username is valid, and makes further attacks easier.
36133613

3614-
* If a user tries to create an account using an email address, don't tell the user if an account with that email address already exists. Similarly, if a user tries to do a password reset using an email address, don't tell the user if there is no account with that email address. Providing either of these mechanisms allows an unauthenticated attacker to determine if a specific email address is being used by an existing account.
3614+
* If a user tries to create an account using an email address, don't tell the user if an account with that email address already exists. Similarly, if a user tries to do a password reset using an email address, don't tell the user if there is no account with that email address. Providing that information would allow an unauthenticated attacker to determine if a specific email address is being used (or not) by some existing account.
36153615

36163616
* In general, don’t display sensitive/private data unless necessary at that point.
36173617

0 commit comments

Comments
 (0)