Solved

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

Posted on 2013-01-17
5
748 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
Comment Utility
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
Comment Utility
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
Comment Utility
Yeah I mis-read it. :^(

Cd&
0
 

Author Closing Comment

by:kpbarem
Comment Utility
It does.  It makes a huge difference actually.  Thanks
0
 
LVL 9

Expert Comment

by:WebDevEM
Comment Utility
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Accessibility and Usability are two concepts that seem to be closely related.  But, too many people seem to have a distorted perception of them. During last five years, those two words have come to the day-to-day work of almost every web develope…
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

743 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

13 Experts available now in Live!

Get 1:1 Help Now