Skip to content

Commit 238ae4e

Browse files
konklonejustgrimes
authored andcommitted
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
1 parent d1fbc98 commit 238ae4e

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

pages/guide.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ This page provides implementation guidance for agencies by the White House Offic
1616
* [Compliance FAQ](#compliance-faq)
1717
* [What protocols are covered by M-15-13?](#what-protocols-are-covered-by-m-15-13%3f)
1818
* [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)
1920
* [What does "all Federal agency domains or subdomains" include?](#what-does-"all-federal-agency-domains-or-subdomains"-include%3f)
2021
* [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)
2122
* [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
2526
* [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)
2627
* [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)
2728

28-
2929
## Compliance and best practice checklist
3030

3131
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
9191
9292
Agencies may employ port 80 for the sole purpose of redirecting clients to a secure connection.
9393

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+
9498
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.
9599

96100
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.
97101

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+
98110
### What does "all Federal agency domains or subdomains" include?
99111

100112
Domains and subdomains, in the context of M-15-13, refer to hostnames that are publicly accessible via HTTP or HTTPS.

0 commit comments

Comments
 (0)