By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,014 Members | 1,015 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,014 IT Pros & Developers. It's quick & easy.

HTTPS pages: How to get rid of secure/nonsecure message?

P: n/a
I created an ASP.NET website and recently got a secure certificate.
Whenever I visit any of the pages IE says

"This page contains both secure and nonsecure items. Do you want to display
the nonsecure items?"

What is considered secure and nonsecure? As the developer how can I create
the pages so this message doesn't appear?

Thanks!
Nov 19 '05 #1
Share this Question
Share on Google+
7 Replies


P: n/a
check your urls if you are using absolute urls. Some of them apparently
point to https while some point to http.

You can also get this message based on IIS congiurations. If your content
is in a virtual directory where ssl is enabled, but your images are in a
directory where ssl is not enabled, then you'll get this message as well.

"VB Programmer" <xD**********@Dont.com> wrote in message
news:uQ**************@TK2MSFTNGP09.phx.gbl...
I created an ASP.NET website and recently got a secure certificate.
Whenever I visit any of the pages IE says

"This page contains both secure and nonsecure items. Do you want to
display the nonsecure items?"

What is considered secure and nonsecure? As the developer how can I
create the pages so this message doesn't appear?

Thanks!

Nov 19 '05 #2

P: n/a
Thanks for the ideas.

EVERYTHING is relative path, such as MyPage.aspx, or Secured/MyPage.aspx.
There are NO full pathed URLs.

Also, the whole directory, including the images dir, has ssl enabled.

Any ideas?

"David Young" <dm***************@yahoo.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
check your urls if you are using absolute urls. Some of them apparently
point to https while some point to http.

You can also get this message based on IIS congiurations. If your content
is in a virtual directory where ssl is enabled, but your images are in a
directory where ssl is not enabled, then you'll get this message as well.

"VB Programmer" <xD**********@Dont.com> wrote in message
news:uQ**************@TK2MSFTNGP09.phx.gbl...
I created an ASP.NET website and recently got a secure certificate.
Whenever I visit any of the pages IE says

"This page contains both secure and nonsecure items. Do you want to
display the nonsecure items?"

What is considered secure and nonsecure? As the developer how can I
create the pages so this message doesn't appear?

Thanks!


Nov 19 '05 #3

P: n/a
Are you using smartnavigation, validation or anything that might be looking
for a script file outside of SSL?

Just checking.

"VB Programmer" <xD**********@Dont.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Thanks for the ideas.

EVERYTHING is relative path, such as MyPage.aspx, or Secured/MyPage.aspx.
There are NO full pathed URLs.

Also, the whole directory, including the images dir, has ssl enabled.

Any ideas?

"David Young" <dm***************@yahoo.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
check your urls if you are using absolute urls. Some of them apparently
point to https while some point to http.

You can also get this message based on IIS congiurations. If your
content is in a virtual directory where ssl is enabled, but your images
are in a directory where ssl is not enabled, then you'll get this message
as well.

"VB Programmer" <xD**********@Dont.com> wrote in message
news:uQ**************@TK2MSFTNGP09.phx.gbl...
I created an ASP.NET website and recently got a secure certificate.
Whenever I visit any of the pages IE says

"This page contains both secure and nonsecure items. Do you want to
display the nonsecure items?"

What is considered secure and nonsecure? As the developer how can I
create the pages so this message doesn't appear?

Thanks!



Nov 19 '05 #4

P: n/a
Good point. I'll double check.

It IS interesting though that when it asks me if I want to display
NON-secure items, if I say No, the page looks exactly the same. Even on
pages that I'm sure doesn't have validation, smartnav, etc...

Make sense?

"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Are you using smartnavigation, validation or anything that might be
looking for a script file outside of SSL?

Just checking.

"VB Programmer" <xD**********@Dont.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Thanks for the ideas.

EVERYTHING is relative path, such as MyPage.aspx, or Secured/MyPage.aspx.
There are NO full pathed URLs.

Also, the whole directory, including the images dir, has ssl enabled.

Any ideas?

"David Young" <dm***************@yahoo.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
check your urls if you are using absolute urls. Some of them apparently
point to https while some point to http.

You can also get this message based on IIS congiurations. If your
content is in a virtual directory where ssl is enabled, but your images
are in a directory where ssl is not enabled, then you'll get this
message as well.

"VB Programmer" <xD**********@Dont.com> wrote in message
news:uQ**************@TK2MSFTNGP09.phx.gbl...
I created an ASP.NET website and recently got a secure certificate.
Whenever I visit any of the pages IE says

"This page contains both secure and nonsecure items. Do you want to
display the nonsecure items?"

What is considered secure and nonsecure? As the developer how can I
create the pages so this message doesn't appear?

Thanks!



Nov 19 '05 #5

P: n/a
I've determined that it's probably the Flash header on each page. I
reference an http address for MACROMEDIA.

But, in this case don't I have to?

Here's my actual HTML...

<OBJECT id="2finance_2"
codeBase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
height="229" width="760" align="middle"
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
VIEWASTEXT>
<PARAM NAME="_cx" VALUE="20108">
<PARAM NAME="_cy" VALUE="6059">
<PARAM NAME="FlashVars" VALUE="">
<PARAM NAME="Movie" VALUE="2finance_2.swf">
<PARAM NAME="Src" VALUE="2finance_2.swf">
<PARAM NAME="WMode" VALUE="Window">
<PARAM NAME="Play" VALUE="0">
<PARAM NAME="Loop" VALUE="-1">
<PARAM NAME="Quality" VALUE="High">
<PARAM NAME="SAlign" VALUE="">
<PARAM NAME="Menu" VALUE="-1">
<PARAM NAME="Base" VALUE="">
<PARAM NAME="AllowScriptAccess" VALUE="sameDomain">
<PARAM NAME="Scale" VALUE="ShowAll">
<PARAM NAME="DeviceFont" VALUE="0">
<PARAM NAME="EmbedMovie" VALUE="0">
<PARAM NAME="BGColor" VALUE="FFFFFF">
<PARAM NAME="SWRemote" VALUE="">
<PARAM NAME="MovieData" VALUE="">
<PARAM NAME="SeamlessTabbing" VALUE="1">
<embed src="2finance_2.swf" quality="high" bgcolor="#ffffff" width="760"
height="229" name="2finance_2"
align="middle" allowScriptAccess="sameDomain"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</OBJECT>

"VB Programmer" <xD**********@Dont.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Good point. I'll double check.

It IS interesting though that when it asks me if I want to display
NON-secure items, if I say No, the page looks exactly the same. Even on
pages that I'm sure doesn't have validation, smartnav, etc...

Make sense?

"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Are you using smartnavigation, validation or anything that might be
looking for a script file outside of SSL?

Just checking.

"VB Programmer" <xD**********@Dont.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Thanks for the ideas.

EVERYTHING is relative path, such as MyPage.aspx, or
Secured/MyPage.aspx. There are NO full pathed URLs.

Also, the whole directory, including the images dir, has ssl enabled.

Any ideas?

"David Young" <dm***************@yahoo.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
check your urls if you are using absolute urls. Some of them
apparently point to https while some point to http.

You can also get this message based on IIS congiurations. If your
content is in a virtual directory where ssl is enabled, but your images
are in a directory where ssl is not enabled, then you'll get this
message as well.

"VB Programmer" <xD**********@Dont.com> wrote in message
news:uQ**************@TK2MSFTNGP09.phx.gbl...
>I created an ASP.NET website and recently got a secure certificate.
>Whenever I visit any of the pages IE says
>
> "This page contains both secure and nonsecure items. Do you want to
> display the nonsecure items?"
>
> What is considered secure and nonsecure? As the developer how can I
> create the pages so this message doesn't appear?
>
> Thanks!
>



Nov 19 '05 #6

P: n/a
Macromedia is aware of the problem,
and has provided secure links for codebases:

http://www.macromedia.com/cfusion/kn...fm?id=tn_16588

Simply changing http: to https: should work.

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"VB Programmer" <xD**********@Dont.com> wrote in message
news:el**************@TK2MSFTNGP09.phx.gbl...
I've determined that it's probably the Flash header on each page. I reference an http
address for MACROMEDIA.

But, in this case don't I have to?

Here's my actual HTML...

<OBJECT id="2finance_2"
codeBase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
height="229" width="760" align="middle"
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
VIEWASTEXT>
<PARAM NAME="_cx" VALUE="20108">
<PARAM NAME="_cy" VALUE="6059">
<PARAM NAME="FlashVars" VALUE="">
<PARAM NAME="Movie" VALUE="2finance_2.swf">
<PARAM NAME="Src" VALUE="2finance_2.swf">
<PARAM NAME="WMode" VALUE="Window">
<PARAM NAME="Play" VALUE="0">
<PARAM NAME="Loop" VALUE="-1">
<PARAM NAME="Quality" VALUE="High">
<PARAM NAME="SAlign" VALUE="">
<PARAM NAME="Menu" VALUE="-1">
<PARAM NAME="Base" VALUE="">
<PARAM NAME="AllowScriptAccess" VALUE="sameDomain">
<PARAM NAME="Scale" VALUE="ShowAll">
<PARAM NAME="DeviceFont" VALUE="0">
<PARAM NAME="EmbedMovie" VALUE="0">
<PARAM NAME="BGColor" VALUE="FFFFFF">
<PARAM NAME="SWRemote" VALUE="">
<PARAM NAME="MovieData" VALUE="">
<PARAM NAME="SeamlessTabbing" VALUE="1">
<embed src="2finance_2.swf" quality="high" bgcolor="#ffffff" width="760" height="229"
name="2finance_2"
align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</OBJECT>

"VB Programmer" <xD**********@Dont.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Good point. I'll double check.

It IS interesting though that when it asks me if I want to display NON-secure items, if
I say No, the page looks exactly the same. Even on pages that I'm sure doesn't have
validation, smartnav, etc...

Make sense?

"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Are you using smartnavigation, validation or anything that might be looking for a
script file outside of SSL?

Just checking.

"VB Programmer" <xD**********@Dont.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Thanks for the ideas.

EVERYTHING is relative path, such as MyPage.aspx, or Secured/MyPage.aspx. There are
NO full pathed URLs.

Also, the whole directory, including the images dir, has ssl enabled.

Any ideas?

"David Young" <dm***************@yahoo.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
> check your urls if you are using absolute urls. Some of them apparently point to
> https while some point to http.
>
> You can also get this message based on IIS congiurations. If your content is in a
> virtual directory where ssl is enabled, but your images are in a directory where ssl
> is not enabled, then you'll get this message as well.
>
> "VB Programmer" <xD**********@Dont.com> wrote in message
> news:uQ**************@TK2MSFTNGP09.phx.gbl...
>>I created an ASP.NET website and recently got a secure certificate. Whenever I visit
>>any of the pages IE says
>>
>> "This page contains both secure and nonsecure items. Do you want to display the
>> nonsecure items?"
>>
>> What is considered secure and nonsecure? As the developer how can I create the
>> pages so this message doesn't appear?
>>
>> Thanks!
>>
>
>



Nov 19 '05 #7

P: n/a
Great thanks!

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:Ot**************@tk2msftngp13.phx.gbl...
Macromedia is aware of the problem,
and has provided secure links for codebases:

http://www.macromedia.com/cfusion/kn...fm?id=tn_16588

Simply changing http: to https: should work.

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"VB Programmer" <xD**********@Dont.com> wrote in message
news:el**************@TK2MSFTNGP09.phx.gbl...
I've determined that it's probably the Flash header on each page. I
reference an http address for MACROMEDIA.

But, in this case don't I have to?

Here's my actual HTML...

<OBJECT id="2finance_2"
codeBase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
height="229" width="760" align="middle"
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
VIEWASTEXT>
<PARAM NAME="_cx" VALUE="20108">
<PARAM NAME="_cy" VALUE="6059">
<PARAM NAME="FlashVars" VALUE="">
<PARAM NAME="Movie" VALUE="2finance_2.swf">
<PARAM NAME="Src" VALUE="2finance_2.swf">
<PARAM NAME="WMode" VALUE="Window">
<PARAM NAME="Play" VALUE="0">
<PARAM NAME="Loop" VALUE="-1">
<PARAM NAME="Quality" VALUE="High">
<PARAM NAME="SAlign" VALUE="">
<PARAM NAME="Menu" VALUE="-1">
<PARAM NAME="Base" VALUE="">
<PARAM NAME="AllowScriptAccess" VALUE="sameDomain">
<PARAM NAME="Scale" VALUE="ShowAll">
<PARAM NAME="DeviceFont" VALUE="0">
<PARAM NAME="EmbedMovie" VALUE="0">
<PARAM NAME="BGColor" VALUE="FFFFFF">
<PARAM NAME="SWRemote" VALUE="">
<PARAM NAME="MovieData" VALUE="">
<PARAM NAME="SeamlessTabbing" VALUE="1">
<embed src="2finance_2.swf" quality="high" bgcolor="#ffffff"
width="760" height="229" name="2finance_2"
align="middle" allowScriptAccess="sameDomain"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</OBJECT>

"VB Programmer" <xD**********@Dont.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Good point. I'll double check.

It IS interesting though that when it asks me if I want to display
NON-secure items, if I say No, the page looks exactly the same. Even on
pages that I'm sure doesn't have validation, smartnav, etc...

Make sense?

"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Are you using smartnavigation, validation or anything that might be
looking for a script file outside of SSL?

Just checking.

"VB Programmer" <xD**********@Dont.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
> Thanks for the ideas.
>
> EVERYTHING is relative path, such as MyPage.aspx, or
> Secured/MyPage.aspx. There are NO full pathed URLs.
>
> Also, the whole directory, including the images dir, has ssl enabled.
>
> Any ideas?
>
> "David Young" <dm***************@yahoo.com> wrote in message
> news:%2****************@tk2msftngp13.phx.gbl...
>> check your urls if you are using absolute urls. Some of them
>> apparently point to https while some point to http.
>>
>> You can also get this message based on IIS congiurations. If your
>> content is in a virtual directory where ssl is enabled, but your
>> images are in a directory where ssl is not enabled, then you'll get
>> this message as well.
>>
>> "VB Programmer" <xD**********@Dont.com> wrote in message
>> news:uQ**************@TK2MSFTNGP09.phx.gbl...
>>>I created an ASP.NET website and recently got a secure certificate.
>>>Whenever I visit any of the pages IE says
>>>
>>> "This page contains both secure and nonsecure items. Do you want to
>>> display the nonsecure items?"
>>>
>>> What is considered secure and nonsecure? As the developer how can I
>>> create the pages so this message doesn't appear?
>>>
>>> Thanks!
>>>
>>
>>
>
>



Nov 19 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.