Categories: BlogSecurity

Silverlight on IE6: Nagging Security Bug

Do you have a wonderful Silverlight application that you enjoy running in all of the glorious browser flavors available, only to find out that some weird quirky issue pops up in our old friend, Internet Explorer version 6.0 (IE6)?

Perhaps you were as puzzled as we were when IE6 would complain with a “Security warning: nonsecure items on secure page … blah, blah” (even though we scoured the source and even ran a packet inspector and no non-secured pages were being requested). No matter what your reply, it would pop to some random page and show “page not found.”

The solution is quite simple. Most Silverlight examples include having an iframe to interact with for browser history, etc. It is just empty (doesn’t link anywhere). Many people might include it without even really using it, but the interesting thing is that even though it points nowhere, IE6 automatically assumes that you are going somewhere insecure!

There are two solutions.

  • If you aren’t using it, get rid of it. No iframe in the control that hosts it, and you’re golden.
  • If you are using it, point it to a dummy page with a secure URL. Something like:
    ...
    <iframe src="https://myserver.com/transparentgif.GIF"...>
    ...
    

    should work just fine!

Jeremy Likness

Recent Posts

8-Step AWS to Microsoft Azure Migration Strategy

Microsoft Azure and Amazon Web Services (AWS) are two of the most popular cloud platforms.…

3 weeks ago

How to Navigate Azure Governance

 Cloud management is difficult to do manually, especially if you work with multiple cloud…

4 weeks ago

Why Azure’s Scalability is Your Key to Business Growth & Efficiency

Azure’s scalable infrastructure is often cited as one of the primary reasons why it's the…

1 month ago

Unlocking the Power of AI in your Software Development Life Cycle (SDLC)

https://www.youtube.com/watch?v=wDzCN0d8SeA Watch our "Unlocking the Power of AI in your Software Development Life Cycle (SDLC)"…

2 months ago

The Role of FinOps in Accelerating Business Innovation

FinOps is a strategic approach to managing cloud costs. It combines financial management best practices…

2 months ago

Azure Kubernetes Security Best Practices

Using Kubernetes with Azure combines the power of Kubernetes container orchestration and the cloud capabilities…

2 months ago