Discussion Locked

Secure and Nonsecure items

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

What constitutes "nonsecure" items on a web page?

I have a webpage that is hosted on IIS 5.0 with .net Framework SP2 and from the very root of the site IIS is set to require SSL. It all is fine at the root but one folder level down I have a portals aspx app and when that page loads I get the "this page contains both secure and nonsecure items" warning. The page contains links to http:// pages of external sites but no graphics are being loaded from anywhere other than my secure site and it's sub folders.

What could be the cause?

1 reply

by jay eckles

Is it possible you're referring to images using relative URLs? i.e.:

If so, perhaps the relative URL is resolving to an http url instead of an https url. That doesn't seem intuitive, but try changing all the URLson a page from relative to absolute using https as the protocol.

Also note that images aren't the only items embedded in a page - if you have external Javascript, external CSS, iframes, etc., those things also have to use https.

If you have some sample source you can show us, it might help diagnose the problem. Otherwise, as you can tell, I'm just taking a shot in the dark.

Good luck.

Jay

This discussion is closed to new replies.