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

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

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

    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.
    Helen Guest

  2. Similar Questions and Discussions

    1. iFrame Blank Content Error
      I am creating the navigation for a website using flex, i have the menu (by itself) functioning. I am using an iFrame component, borrowed from this...
    2. Loading content into TextArea component from external file
      I have external xml files that load into text area components via a link in the current xml file .. loads into the same space. In other places,...
    3. Changing Text/iframe content with Rollover
      Hello, I'm using a simple JavaScript to change a display of images on rollover, like a script you'd use for navbar buttons, but 6 images at...
    4. question about xml element content
      Hi, all Is there a function or quick way in php can do the following? translate aa'&zz>cc<dd"qq into aa&apos;&amp;zz&gt;cc&lt;dd&quot;qq Thanks a...
    5. Loading external files into HTML or IFrame
      I am trying to build a preloader / movie interface that will load movies according to user bandwidth upon release of a button. Lets say I push a...
  3. #2

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

    in IE under

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




    "Helen" <emailhelen@comcast.net> wrote in message
    news:516ce28b.0310151301.db4ff88@posting.google.co m...
    > 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.

    bruce barker Guest

  4. #3

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

    Bruce:

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

    Helen.
    Helen Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139