Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mixed Content update to new spec #33786

Merged
merged 13 commits into from
Jun 13, 2024
7 changes: 4 additions & 3 deletions files/en-us/_redirects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6789,10 +6789,10 @@
/en-US/docs/Security/InsecurePasswords /en-US/docs/Web/Security/Insecure_passwords
/en-US/docs/Security/Insecure_passwords /en-US/docs/Web/Security/Insecure_passwords
/en-US/docs/Security/MixedContent /en-US/docs/Web/Security/Mixed_content
/en-US/docs/Security/MixedContent/How_to_fix_website_with_mixed_content /en-US/docs/Web/Security/Mixed_content/How_to_fix_website_with_mixed_content
/en-US/docs/Security/MixedContent/fix_website_with_mixed_content /en-US/docs/Web/Security/Mixed_content/How_to_fix_website_with_mixed_content
/en-US/docs/Security/MixedContent/How_to_fix_website_with_mixed_content /en-US/docs/Web/Security/Mixed_content#developer_console
/en-US/docs/Security/MixedContent/fix_website_with_mixed_content /en-US/docs/Web/Security/Mixed_content#developer_console
/en-US/docs/Security/Mixed_content /en-US/docs/Web/Security/Mixed_content
/en-US/docs/Security/Mixed_content/How_to_fix_website_with_mixed_content /en-US/docs/Web/Security/Mixed_content/How_to_fix_website_with_mixed_content
/en-US/docs/Security/Mixed_content/How_to_fix_website_with_mixed_content /en-US/docs/Web/Security/Mixed_content#developer_console
/en-US/docs/Security/Securing_your_site /en-US/docs/Web/Security/Securing_your_site
/en-US/docs/Security/Weak_Signature_Algorithm /en-US/docs/Web/Security/Weak_Signature_Algorithm
/en-US/docs/Security_changes_in_Firefox_3.1 /en-US/docs/Mozilla/Firefox/Releases/3.5/Security_changes
Expand Down Expand Up @@ -13019,6 +13019,7 @@
/en-US/docs/Web/Security/Do_not_track_field_guide/Tutorials/3_Collecting_aggregate_data_based_on_DNT /en-US/docs/Web/HTTP/Headers/DNT
/en-US/docs/Web/Security/Do_not_track_field_guide/Tutorials/Additional_resources /en-US/docs/Web/HTTP/Headers/DNT
/en-US/docs/Web/Security/HTTP_strict_transport_security /en-US/docs/Web/HTTP/Headers/Strict-Transport-Security
/en-US/docs/Web/Security/Mixed_content/How_to_fix_website_with_mixed_content /en-US/docs/Web/Security/Mixed_content#developer_console
/en-US/docs/Web/Security/Public_Key_Pinning /en-US/docs/Web/Security/Certificate_Transparency
/en-US/docs/Web/Security/Securing_your_site/Configuring_server_MIME_types /en-US/docs/Learn/Server-side/Configuring_server_MIME_types
/en-US/docs/Web/WebGL /en-US/docs/Web/API/WebGL_API
Expand Down
33 changes: 0 additions & 33 deletions files/en-us/_wikihistory.json
Original file line number Diff line number Diff line change
Expand Up @@ -126878,39 +126878,6 @@
"evilpie"
]
},
"Web/Security/Mixed_content/How_to_fix_website_with_mixed_content": {
"modified": "2019-11-19T10:27:43.925Z",
"contributors": [
"leela52452",
"stilliard",
"sanmao7912",
"ashucg",
"kcjoon",
"chrisatnws",
"alejaz",
"edtheman74",
"mfuji09",
"PushpitaPikuDey",
"tsaddique389",
"Alialwadie35",
"ChrisP1118",
"renzokuken",
"Sheppy",
"JazzMaster",
"fscholz",
"fweb",
"SphinxKnight",
"A5hleyRich",
"scarp1134",
"konklone",
"jswisher",
"satanica29",
"jazbit",
"bgrawi",
"TanviVyas",
"dbruant"
]
},
"Web/Security/Referer_header:_privacy_and_security_concerns": {
"modified": "2020-07-22T14:05:46.803Z",
"contributors": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ browser-compat: http.headers.Content-Security-Policy.block-all-mixed-content

{{HTTPSidebar}}{{deprecated_header}}

> **Warning:** This directive is marked as obsolete in the specification: all mixed content is now blocked if it can't be autoupgraded.
> **Warning:** This directive is marked as obsolete in the specification.
> This directive was previously used to prevent "optionally blockable" mixed content from being fetched insecurely and displayed.
> Content that isn't blocked is now always upgraded to a secure connection, so this directive is not needed.

The HTTP {{HTTPHeader("Content-Security-Policy")}} (CSP) **`block-all-mixed-content`** directive prevents loading any assets over HTTP when the page uses HTTPS.

All [mixed content](/en-US/docs/Web/Security/Mixed_content) resource requests are blocked, including both active and passive mixed content.
All [mixed content](/en-US/docs/Web/Security/Mixed_content) resource requests are blocked, including both blockable and upgradable mixed content.
This also applies to {{HTMLElement("iframe")}} documents, ensuring the entire page is mixed content-free.

> **Note:** The {{CSP("upgrade-insecure-requests")}} directive is evaluated before `block-all-mixed-content`.
Expand Down
3 changes: 1 addition & 2 deletions files/en-us/web/security/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ Related topics:
- : **Certificate Transparency** is an open framework designed to protect against and monitor for certificate misissuance. Newly issued certificates are 'logged' to publicly run, often independent CT logs which maintain an append-only, cryptographically assured record of issued TLS certificates.
- [Mixed content](/en-US/docs/Web/Security/Mixed_content)
- : An HTTPS page that includes content fetched using cleartext HTTP is called a **mixed content** page. Pages like this are only partially encrypted, leaving the unencrypted content accessible to sniffers and man-in-the-middle attackers.
- [How to fix a website with blocked mixed content](/en-US/docs/Web/Security/Mixed_content/How_to_fix_website_with_mixed_content)
- : If your website delivers HTTPS pages, all [active mixed content](/en-US/docs/Web/Security/Mixed_content#mixed_active_content) delivered via HTTP on these pages will be blocked by default. Consequently, your website may appear broken to users (if iframes or plugins don't load, etc.). [Passive mixed content](/en-US/docs/Web/Security/Mixed_content#mixed_passivedisplay_content) is displayed by default, but users can set a preference to block this type of content, as well. This page explains what you should be aware of as a web developer.
This page explains what you should be aware of as a web developer.
- [Weak signature algorithms](/en-US/docs/Web/Security/Weak_Signature_Algorithm)
- : The strength of the hash algorithm used in {{Glossary("Signature/Security", "signing")}} a {{Glossary("digital certificate")}} is a critical element of the security of the certificate. This article provides some information about signature algorithms known to be weak, so you can avoid them when appropriate.

Expand Down

This file was deleted.

Loading