"Only secure content is displayed" message ?

Posted on 2013-08-28
Medium Priority
Last Modified: 2013-09-13
What's the meaning behind the message displayed in IE when visiting a https site?

"Only secure content is displayed. What's the risk?"

The site is a Drupal 7 site, with a self-signed certificate.
Question by:sandshakimi
LVL 54

Assisted Solution

by:Scott Fell, EE MVE
Scott Fell,  EE MVE earned 500 total points
ID: 39444817
Anything that is not coded for  https is not showing.

Example, you are on https and the image is coming from <img src="http://someplace/image.jpg"> will throw this error.  This could be the same for any external file such as javascript or css files.
LVL 13

Assisted Solution

by:Aaron Feledy
Aaron Feledy earned 500 total points
ID: 39445624
As padas said above, it is because you have elements on your page that are hard-coded to http when the rest of the page is loading in https. The http elements are not secure. It's probably an image or another file you've hard-coded. Avoid this situation by using relative links. For example, use "/path/to/image.jpg" rather than "http://mysite.com/path/to/image.jpg". This will cause the browser to use either http or https depending on how the user loads the page.
LVL 50

Assisted Solution

jcimarron earned 500 total points
ID: 39445765
sandshakimi--To fix:
IE Tools|Internet Options|Security tab|Internet tab|Custom Level|under Miscellaneous set "Display Mixed Content" to Enable rather than Prompt or Disable.

Accepted Solution

itkadmin earned 500 total points
ID: 39448721
Agree with padas and arrow_1. Other than images, i've had this happen before because of modules that link to other sites. Many of the social share modules do this, I had this problem so much I just started building my own social links. Also had it happen by loading things from a CDN, most of which have a https version of whatever you are loading. Widgets for weather, eventbrite - that sort of thing if you are using any, can also cause this problem. Fixes depend on what is causing the problem.

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
Suggested Courses

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question