aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Kiely <[email protected]>2021-02-08 23:54:16 -0600
committerGitHub <[email protected]>2021-02-09 07:54:16 +0200
commit96b86c1f58a355c235039ad8b8f3ca92e29a39d0 (patch)
tree5bdeac3f31f488eb9ae8e9949c9b61d88415739d
parent96be06e32bf68de22d8d14362909dd688070ca40 (diff)
downloadbootstrap-96b86c1f58a355c235039ad8b8f3ca92e29a39d0.tar.xz
bootstrap-96b86c1f58a355c235039ad8b8f3ca92e29a39d0.zip
Docs on enforcing HTTPS and avoiding mixed content (#33017)
Co-authored-by: XhmikosR <[email protected]>
-rw-r--r--site/content/docs/5.0/customize/optimize.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/site/content/docs/5.0/customize/optimize.md b/site/content/docs/5.0/customize/optimize.md
index fbf3f6b05..6763d95c5 100644
--- a/site/content/docs/5.0/customize/optimize.md
+++ b/site/content/docs/5.0/customize/optimize.md
@@ -74,6 +74,8 @@ Whenever possible, be sure to compress all the code you serve to your visitors.
_Help wanted with this section, please consider opening a PR. Thanks!_
-## Always use https
+## Always use HTTPS
-_Help wanted with this section, please consider opening a PR. Thanks!_
+Your website should only be available over HTTPS connections in production. HTTPS improves the security, privacy, and availability of all sites, and [there is no such thing as non-sensitive web traffic](https://https.cio.gov/everything/). The steps to configure your website to be served exclusively over HTTPS vary widely depending on your architecture and web hosting provider, and thus are beyond the scope of these docs.
+
+Sites served over HTTPS should also access all stylesheets, scripts, and other assets over HTTPS connections. Otherwise, you'll be sending users [mixed active content](https://developer.mozilla.org/en-US/docs/Web/Security/Mixed_content), leading to potential vulnerabilities where a site can be compromised by altering a dependency. This can lead to security issues and in-browser warnings displayed to users. Whether you're getting Bootstrap from a CDN or serving it yourself, ensure that you only access it over HTTPS connections.