Confirmed users
308
edits
No edit summary |
No edit summary |
||
| Line 13: | Line 13: | ||
}} | }} | ||
{{FeaturePageBody | {{FeaturePageBody | ||
|Feature overview=HTTP Strict-Transport-Security (HSTS) allows sites to specify that they | |Feature overview=HTTP Strict-Transport-Security (HSTS) allows sites to specify that they should be accessed via a secure connection only. The problem is, a user's first request to a site employing HSTS may not be over HTTPS. A preload list will allow us to ship Firefox with some pre-set HSTS sites that, from the first time they're accessed in the browser, will require a secure connection. | ||
|Feature users and use cases=* Sensitive sites that want HTTPS always and never HTTP | |Feature users and use cases=* Sensitive sites that want HTTPS always and never HTTP | ||
|Feature dependencies=This depends on HSTS, which landed and shipped with Firefox 4. | |Feature dependencies=This depends on HSTS, which landed and shipped with Firefox 4. | ||
| Line 29: | Line 29: | ||
If we stand up a service, it should be polled pretty regularly. | If we stand up a service, it should be polled pretty regularly. | ||
Google maintains a list in their | Google maintains a list in their Chrome source (https://src.chromium.org/viewvc/chrome/trunk/src/net/base/transport_security_state_static.json -- look for mode=force-https). We can use this list, since Google has invested in maintaining and sharing it. | ||
Unfortunately, we can't simply take every entry in Chrome's list with mode:"force-https". This is mostly due to chart.apis.google.com being unable to handle https, which conflicts with the apis.google.com (includeSubdomains=true) entry. Additionally, many sites on that list do not even send an HSTS header, or send one that is short-lived (e.g. www.paypal.com sends a header that expires in 4 hours). | |||
Our preload list must contain only sites that we can say are HSTS with a high degree of confidence. So, starting with Chrome's list (because we have to start somewhere), we will only include sites that: | |||
# Actually send the HSTS header | |||
# Have a max-age larger than or equal to 18 weeks (10886400) | |||
|Feature implementation plan=* Create a mechanism to import a list of sites using HSTS into the permissions manager | |Feature implementation plan=* Create a mechanism to import a list of sites using HSTS into the permissions manager | ||
** This mechanism must also be able to remove HSTS sites from the permissions manager if necessary (details TBD) | ** This mechanism must also be able to remove HSTS sites from the permissions manager if necessary (details TBD) | ||
| Line 37: | Line 43: | ||
** Eventually we (with IT) will set up a server that polls, scrubs and checks in updates to the preload file. | ** Eventually we (with IT) will set up a server that polls, scrubs and checks in updates to the preload file. | ||
** TBD: Do we land updates to the preload list on branches? | ** TBD: Do we land updates to the preload list on branches? | ||
* In the future, create a mechanism by which URLs can be used as subscription endpoints | * In the future, create a mechanism by which URLs can be used as subscription endpoints | ||
}} | }} | ||