Solved

What causes the 'Show all Content' prompt in IE 9

Posted on 2013-01-17
5
753 Views
Last Modified: 2013-11-19
I have a website that displays a prompt from IE 9 before showing the content on the page.  The prompt states 'Only secure content is displayed' and includes a button to show all content.   I know the user can turn this off by going into their browser settings.  However, by default it is turned on and many users don't see the prompt and think that the site is broken.  

From most of my research it appears that this is controlled by IE.  What causes this prompt to appear on my site?  Is there any way I can change my code so this prompt won't appear?


Thanks in advance!
0
Comment
Question by:kpbarem
  • 2
  • 2
5 Comments
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 38787920
From the IE menu bar ... tools ... internet options... security tab ... custom setting find the
options for "Display mixed content" and click disabled... ok ... ok


Cd&
0
 
LVL 9

Accepted Solution

by:
WebDevEM earned 500 total points
ID: 38788217
Hi,

COBOLdinosaur's directions will stop the prompt from appearing on a given machine, but it sounds like you're interested in why it happens and how to avoid it?  In most cases, this happens because your site is using SSL (https, as opposed to just http) so IE expects everything to be done the same way.  What happens a lot is either a script, stylesheet, image or something else is being referenced absolutely at http:// instead of relative to the current page (or absolutely at https://)  When the browser sees insecure content, even just a picture, in a secure page, it wants to warn the user.

If you make sure all your references to js, css, images, and any other reference to something that needs to be loaded are either relative (no http in the URL) or absolute to a secure server, that should solve it.  You don't need to worry about out-going links though, so things like <a href="http://www.google.com">Google</a> are fine.

I hope this helps!

WebDevEM
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 38788677
Yeah I mis-read it. :^(

Cd&
0
 

Author Closing Comment

by:kpbarem
ID: 38789127
It does.  It makes a huge difference actually.  Thanks
0
 
LVL 9

Expert Comment

by:WebDevEM
ID: 38809727
I'm not sure if you're still monitoring this question since it's been closed, but I wrote an article on my blog about it... hope it helps!

http://juntangled.blogspot.com/2013/01/mixed-security-pages-how-to-avoid-error.html
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now