File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,13 @@ This document describes actions API servers and clients should take in order to
8585safeguard credentials. These recommendations are not directed at resources where
8686no authentication is used.
8787
88+ Some have wondered if this document is really necessary. After all, we have
89+ been telling people send passwords and such in the clear for decades.
90+ Regrettably, this lesson seems to be largely forgotten by those developing
91+ Web-based APIs. The blog post that motivated this document, {{BLOG}}, did a
92+ spot-check in May, 2024, and found over two dozen websites that were
93+ vulnerable to the issues listed here.
94+
8895
8996# # Conventions and Definitions
9097
@@ -147,7 +154,7 @@ when a credential has been received over an insecure channel.
147154
148155HTTP status code 403 (Forbidden) indicates that "the server understood the
149156request but refuses to fulfill it" {!HTTP=RFC9110}. While this is generally
150- understood to mean that "the server considers [the credentials] insufficient to
157+ understood to mean that "the server considers \ [the credentials] insufficient to
151158grant access," it also states that "a request might be forbidden for reasons
152159unrelated to the credentials." Servers SHOULD return status code 403 to all
153160requests received over an insecure channel, regardless of the validity of the
You can’t perform that action at this time.
0 commit comments