Chrome to block insecure downloads on HTTPS Sites

The downloads served over the insecure connection on HTTPS websites to be treated as mixed content and blocked by Chrome browser. The change has been rolled out 50% to Dev and Canary users, but as of now, it has been put on hold.

Google is looking to block insecure downloads “initiated from secure contexts as a form of active mixed content”. The planning is to initially apply this to high-risk file types such as .exe on desktop.

The flag available with name “treat risky downloads over insecure connections as active mixed content” tells more about it”. The experimental feature when enabled, “disallows downloads of unsafe files (files that can potentially execute code), where final download origin or any origin in the direct chain is insecure if the originating page is secure”.

treat unsafe downloads as active content flag

If you initiate an executable file download on a secure website and if it gets downloaded over an insecure connection, then that download will be blocked and the information will be displayed to user in Devtools with Mixed content error with a message:

“The site at ‘https://example.com/1.html was loaded over a secure connection, but the file at ‘http://site.com/x.exe’ was redirected through an insecure connection. This file should be served over HTTPS”.

mixed content warning for download in devtools

The feature to be integrated into the Chrome download manager and has nothing to do with Google safe browsing. A CL landed in May to modify DownloadTargetDeterminer state machine to “add a call out to its delegate to check whether the download should be blocked. This happens initially after the initial download path is determined. but before a user might be prompted this will be eventually used to block downloads as active mixed content”

file download over http on HTTPS site blocked

Related articles:

Chrome and Firefox browsers to remove Extended Validation (EV) Certificate indicators from the URL bar

Chrome Canary: Safety Tip Experiment triggers suspicious Behavior warning for Legitimate Sites

Venkat Eswarlu

Venkat is an independent technology journalist and the founder of Techdows. He has been covering web browsers, Windows, and software news since 2009. His exclusive scoops on Chrome, Firefox, and Edge features have been cited by Forbes, TechCrunch, Wired, CNET, and other major publications.

Leave a Reply

Your email address will not be published. Required fields are marked *