You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clarifying non-content servers and use of 4xx/5xx codes (#230)
* Added two FAQ entries to the guide to clarify the applicability of M-15-13.
* rework text of the PR to integrate a bit better
* update TOC to reflect changes
* fix anchor link
Copy file name to clipboardExpand all lines: pages/guide.md
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,7 @@ This page provides implementation guidance for agencies by the White House Offic
16
16
*[Compliance FAQ](#compliance-faq)
17
17
*[What protocols are covered by M-15-13?](#what-protocols-are-covered-by-m-15-13%3f)
18
18
*[Do I need to shut off port 80?](#do-i-need-to-shut-off-port-80%3f)
19
+
*[What about network services that don't actually serve web content?](#what-about-network-services-that-don't-actually-serve-web-content%3f)
19
20
*[What does "all Federal agency domains or subdomains" include?](#what-does-"all-federal-agency-domains-or-subdomains"-include%3f)
20
21
*[What about domains that are only used to redirect visitors to other websites?](#what-about-domains-that-are-only-used-to-redirect-visitors-to-other-websites%3f)
21
22
*[Do domains that redirect to other external domains need to redirect internally to HTTPS before redirecting externally?](#do-domains-that-redirect-to-other-external-domains-need-to-redirect-internally-to-https-before-redirecting-externally%3f)
@@ -25,7 +26,6 @@ This page provides implementation guidance for agencies by the White House Offic
25
26
*[Are federally operated certificate revocation services (CRL, OCSP) also required to move to HTTPS?](#are-federally-operated-certificate-revocation-services-(crl,-ocsp)-also-required-to-move-to-https%3f)
26
27
*[What if I'm using a federally issued certificate -- such as from the Federal PKI or Department of Defense -- for my web service?](#what-if-i'm-using-a-federally-issued-certificate----such-as-from-the-federal-pki-or-department-of-defense----for-my-web-service%3f)
27
28
28
-
29
29
## Compliance and best practice checklist
30
30
31
31
Each public website or web service an agency operates **must**:
@@ -91,10 +91,22 @@ M-15-13 does not address the use of DNS or DNSSEC, FTP or SFTP, or any other non
91
91
92
92
Agencies may employ port 80 for the sole purpose of redirecting clients to a secure connection.
93
93
94
+
HTTP redirects must use a response code in the 300's that can reliably cause HTTP clients to perform redirects to an HTTPS URI, such as 301 or 302.
95
+
96
+
The use of error codes in the 400's or 500's **will not** satisfy this requirement.
97
+
94
98
Note that while connections to port 80 are insecure, even for redirects, the use of [HSTS](/hsts/]) will instruct supporting HTTP clients to automatically redirect themselves from port 80 to port 443, without attempting to connect to port 80 over the network.
95
99
96
100
HSTS mitigates the security impact of connections over port 80, while allowing agencies the flexibility to continue redirecting legacy clients or clients which have not yet received an HSTS policy for the target domain.
97
101
102
+
### What about network services that don't actually serve web content?
103
+
104
+
M-15-13 covers any publicly accessible network service that responds to HTTP requests. This includes network services that don't serve content, but only return HTTP headers, or blank or insubstantial content.
105
+
106
+
This also includes services that respond to HTTP requests on non-standard ports (ports other than 80 or 443), whether or not those services are included in external scans provided to agencies.
107
+
108
+
Network services which do not respond to HTTP requests are not included in the scope of M-15-13.
109
+
98
110
### What does "all Federal agency domains or subdomains" include?
99
111
100
112
Domains and subdomains, in the context of M-15-13, refer to hostnames that are publicly accessible via HTTP or HTTPS.
0 commit comments