0
A HTTPS page of mine is requiring me to only link to HTTPS resources. Otherwise, HTTPS warning messages appear. I wanted it to be possible to download a file from the site, without appearing any warning message to the user. Only I need to save the file in another location that only serves HTTP. Can you create a file on the HTTPS server that redirects the download to be downloaded from the HTTP server?
What you’re referring to is putting a file on an HTTP server and loading it using a <script> on an https page? If it is a normal download no error would occur.
– Gustavo Rodrigues
It is the obligation of the browser to let me know when I am on a secure connection and the site redirects me or tries to include something unsafe. Don’t try to circumvent security. Instead, include the desired features on a secure connection as well.
– utluiz
On Chrome: '[blocked] The page at 'https://. com/' was Loaded over HTTPS, but Ran insecure content from 'http://. com/': this content should also be Loaded over HTTPS.'
– Jader Dias
@utluiz I am testing on here and no browser is giving this alert for downloads, only for script. After that last #Jader-dias comment it seems that it actually refers to a script: do what #utluiz said.
– Gustavo Rodrigues
@Gustavorodrigues has no script involved. Your security settings should be more relaxed than mine. I have "HTTPS Everywhere" but it’s not active. I think the problem is my company’s Group Policies
– Jader Dias