Persistent 'nonsecure content' message when loading a file into an IFRAME element

  • Thread starter Thread starter Helen
  • Start date Start date
H

Helen

Guys and gals,

I am having a problem with an IFRAME that is embedded into an ASPX
page (ASP.NET application). The IFRAME is originally empty (src='').
When a user selects a date from the drop-down list box above the
IFRAME, the IFRAME loads the content of a file on the local machine
(c:\bds\blahblahblah.txt).

The application that contains this page is running on a secure socket
layer (SSL). When the IFRAME tries to load the file, a message pops up
stating that "The page you are about to view contains both secure and
nonsecure content. Would you like to view the nonsecure content?".

I desperately need to get rid of this message. I have tried every
trick in the book, and so far, no dice. Here's what I have tried:

1. Setting security setting for Intranet to Low.
2. Adding the machine itself to its own list of trusted sites. Setting
trusted site security to Low.
3. Enabling everything in the security contents.
4. Enabling 'Display Mixed Contents'. Then disabling it. Then setting
it to Prompt. None of this made any difference.
5. Setting the src attribute of the IFRAME to blank (''). Setting it
to blank.html. Setting it to javascript:parent.nullSrc();, where
nullSrc() function in the parent page returns ''.
6. Setting application trust to full trust.
7. Installing every patch available. We are running IE 6 with SP1.
8. Sharing the folder containing the files I am trying to load. Web
sharing the same folder.

I can't think of other stuff, but I am sure I tried more than that. I
really hope you can help me with this, I am kinda running our of
creative ideas on resolving this problem.

Many thanks for your attention,
Helen.
 
in IE under

Internetnet Options->Advanced->Security
uncheck "Warn if changing between secure and unsecure mode"
 
Bruce:

Thanks for your reply. I tried that, and it had no effect, before and
after I rebooted.

Helen.
 
Back
Top