My Customers Visitors Are Complaining of secure and nonsecure items popup
RegisterLogin
Webune Forums » General Errors » My Customers Visitors Are Complaining of secure and nonsecure items popup
My Customers Visitors Are Complaining of secure and nonsecure items popup
Post Description: My Customers Visitors Are Complaining of secure and nonsecure items popup
Tags: My, Customers, Visitors, Are, Complaining, of, secure, and, nonsecure, items, popup
This Post Was Posted On Feb 29, 2008 By mister_MR2 #1106
Post Description: My Customers Visitors Are Complaining of secure and nonsecure items popup
Tags: My, Customers, Visitors, Are, Complaining, of, secure, and, nonsecure, items, popup
This Post Was Posted On Feb 29, 2008 By mister_MR2 #1106
My Customers Visitors Are Complaining of secure and nonsecure items popup by mister_MR2
Quote:
This Page contains both secure and nonsecure items
do you want to display the nonsecure items?
do you want to display the nonsecure items?
I've look at my code, and it all appears to be ok. is it something to do with their computer? Is this a user issue?
Any Help you can provide will be helpful
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
ram
#1472 1
thanks it really helpfull for working in my project.
Aug 29, 2007 Reply Report abuse
RON8O
#1471 2
so this message ("this page contains both secure and non-secure items") is caused anytime there are relative links in a secured site?
May 11, 2007 Reply Report abuse
Jose
#1470 3
Important: other case is when you use an IFRAME an omit the SRC attribute. See the link below:
http://gemal.dk/blog/2005/01/27/iframe_without_src_attribute_on_https_in_internet_explorer/
http://gemal.dk/blog/2005/01/27/iframe_without_src_attribute_on_https_in_internet_explorer/
Apr 30, 2007 Reply Report abuse
bruce
#1469 4
you probably need to check your code. I had the same problem with putting the relative path instead of the absolute path. The you can never go wrong with the absolute path.
Apr 10, 2007 Reply Report abuse
Charlie
#1468 5
Hopefully I can revive this thread as I am too having the same problem of NEEDING to display an image from the LOCAL HARD DRIVE not my web server on a secured web page. How this is working is we are using a scanner that the website works with. They scan in an image, the image needs to display temporarily (it is NOT stored on our server) of what they just scanned.
I need to figure out a way to get rid of this warning.. please help!
I need to figure out a way to get rid of this warning.. please help!
Apr 10, 2007 Reply Report abuse
mister_MR2
#1467 6
all web pages on the internet run on a protocol called HTTP. From what I know, it started from the Unix world, However, looking at your<img> tag, you have the backlash ( ) character in your img tag, the is a primarly a windows path separator, unix on the other hand uses the forward slash ( / ) as a path separator. its the same as when you typ a url in your browser, you would type for example: http://www.wallpaperama.com NOT http:\www.wallpaperama.com. (go to the bottom of this post to see more information about this subject)
With that in mind, i would advise you to change your code:
Chang From This:
Code:
Change It To:
Code:
* assuming that your file (example: index.html) is in the "Test" directory
* * * * * * * * * * more information on the subjet: * * * * * * * * * *
------------------------------------------------------------------------------------
DOS 2. When directories were introduced. Many of the functions
were based on unix, down to a NUL terminated filename and the
name "creat".
But DOS 1 was modelled on CP/M which used "/" as a command
line option flag. You couldn't use a "/" in the DOS shell because
it would be interpreted as the flag. You could change the flag using
a DOS command, eg, to use "-" instead, but that was disabled in
the 3.x days; for good reason.
Hence, the low-level DOS commands (since 2.0) would take
both / and as separators, but some codes did their own
filename munging and would not.
With that in mind, i would advise you to change your code:
Chang From This:
Code:
<img src="C:TestSample Jpegs640x480alaska.jpg" border="1" align="center" width="100" height="75">
Change It To:
Code:
<img src="/alaska.jpg" border="1" align="center" width="100" height="75">
* assuming that your file (example: index.html) is in the "Test" directory
* * * * * * * * * * more information on the subjet: * * * * * * * * * *
------------------------------------------------------------------------------------
DOS 2. When directories were introduced. Many of the functions
were based on unix, down to a NUL terminated filename and the
name "creat".
But DOS 1 was modelled on CP/M which used "/" as a command
line option flag. You couldn't use a "/" in the DOS shell because
it would be interpreted as the flag. You could change the flag using
a DOS command, eg, to use "-" instead, but that was disabled in
the 3.x days; for good reason.
Hence, the low-level DOS commands (since 2.0) would take
both / and as separators, but some codes did their own
filename munging and would not.
Dec 13, 2006 Reply Report abuse
mister_MR2
#1466 7
I am trying to get rid of this same message ("This Page Contains both secure and non-secure items"). None of the described solutions work for me. I have a SSL web page (https) that displays image files from the local hard drive, of the format:
<img src="C:TestSample Jpegs640x480alaska.jpg" border="1" align="center" width="100" height="75">
How can I make this web page display without seeing the warning message?
<img src="C:TestSample Jpegs640x480alaska.jpg" border="1" align="center" width="100" height="75">
How can I make this web page display without seeing the warning message?
Dec 13, 2006 Reply Report abuse
mister_MR2
#1465 8
Thanks,
That worked!!, I changed my css background image to https and now i am not seeing the error anymore. I will monitor for the next few days to see if any visitors report problems.
That worked!!, I changed my css background image to https and now i am not seeing the error anymore. I will monitor for the next few days to see if any visitors report problems.
Nov 27, 2006 Reply Report abuse
mister_MR2
#1464 9
Both actually, but the root cause of this error is poor website design. Whoever designed your site, didn't do a good job at linking all the required content to be covered by the ssl to be secured (https). The reason why your visitors are seing this is because there is a one of more items that are included in the page that is not secured ( https ). It could be a picture image, or a file that you are linking to thats not secured.
How to resolve this.
If you are a user and want to get rid of the popup window,
you always get, you can follow the steps in this tutorial: CLICK HERE TO SEE TUTORIAL
But if you are a webmaster, you need to troubleshoot your desing code (html, php, etc..). Check these items:
1. Load the page that is giving the error, and look at the code. these are the most common reason why you may be getting the popup:
a. A link to an image where the images is not secured. To fix this, make sure use https protocol:
Example: In my code i found this:
Code:
You need to change it to:
Code:
b. Another way to cause an error is to link to a style sheet with the link tag:
Code:
c. Linking to style sheets that have image properties can also create this error. For examplke, if i am linking to my style sheet with https, but one of the properties in one of my style sheet declarations has an image, make sure its using the https protocol: for example, when i open my style.css, once of my styles is this:
Code:
The above style will cause the nonsecure popup because my dark.gif image is not using the https protocol, so to make sure, i would change the style to look like this:
Code:
Now you get the idea. So make sure you are using https protocol on all your page content.
Hope this helps
Thanks to Webune Support for their contribution - webune.com
How to resolve this.
If you are a user and want to get rid of the popup window,
you always get, you can follow the steps in this tutorial: CLICK HERE TO SEE TUTORIAL
But if you are a webmaster, you need to troubleshoot your desing code (html, php, etc..). Check these items:
1. Load the page that is giving the error, and look at the code. these are the most common reason why you may be getting the popup:
a. A link to an image where the images is not secured. To fix this, make sure use https protocol:
Example: In my code i found this:
Code:
<img src="http://www.mydomain.com/imagefile.jpg">
You need to change it to:
Code:
<img src="https://www.mydomain.com/imagefile.jpg">
b. Another way to cause an error is to link to a style sheet with the link tag:
Code:
]<link href="http://www.mydomain.com/style.css" rel="stylesheet" type="text/css" />
Is this example, just make sure you change the protocol from http to httpsc. Linking to style sheets that have image properties can also create this error. For examplke, if i am linking to my style sheet with https, but one of the properties in one of my style sheet declarations has an image, make sure its using the https protocol: for example, when i open my style.css, once of my styles is this:
Code:
body
{
background-color: #000000;
margin: 1px;
font-size: 10px;
font-family: Verdana;
color: #ABAFAB;
background-image: url(/images/backgrounds/dark.gif);
padding: 10px;
}
{
background-color: #000000;
margin: 1px;
font-size: 10px;
font-family: Verdana;
color: #ABAFAB;
background-image: url(/images/backgrounds/dark.gif);
padding: 10px;
}
The above style will cause the nonsecure popup because my dark.gif image is not using the https protocol, so to make sure, i would change the style to look like this:
Code:
body
{
background-color: #000000;
margin: 1px;
font-size: 10px;
font-family: Verdana;
color: #ABAFAB;
background-image: url(https://www.mydomain.com/images/backgrounds/dark.gif);
padding: 10px;
}
{
background-color: #000000;
margin: 1px;
font-size: 10px;
font-family: Verdana;
color: #ABAFAB;
background-image: url(https://www.mydomain.com/images/backgrounds/dark.gif);
padding: 10px;
}
Now you get the idea. So make sure you are using https protocol on all your page content.
Hope this helps
Thanks to Webune Support for their contribution - webune.com
Nov 27, 2006 Reply Report abuse
Leave Your Comments...
©2011 Webune Forums - Mon Dec 19, 2011 4:19 am
Powered by: Webune Forums V3
Powered by: Webune Forums V3