For some time I've been searching for a solution to what is likely a
common customer request:
In a 'mixed' website that contains content from other sites, don't
trigger the SSL alerts going to/from https or when displaying the
content from other sites.
By 'mixed' I mean the site contains both http & https pages with a
valid SSL cert for the domain.
The external site content is from registered user postings to a
classifieds listing. For example images they've cut and pasted from
their corporate website or elsewhere. (Uploading the images doesn't
appear to be an option in this case.)
Since the site contains many pages that require https for sensitive
customer information (registration, customer data), most of it is
served via https.
Given that, in order to avoid triggering the mixed secure/non-secure
content alert the classifieds listing pages need to be served in http
vs. https.
So far I've tried a number of strategies, but have unfortunately been
unsuccessful in avoiding triggering the http to https (you're going to
a secure site...) or https to http (you're leaving a secure site)
alerts.
The site is in ASP (classic) and uses redirects heavily. In most cases
there is querystring data - so server.transfer is less of an option
and response.redirect is used (aside from the fact its serving up the
same page via a different protocol vs a different page). So there are
both clickable links and programmatic redirects to handle. (As well as
very limited session data.)
Here are some things I've tried but unfortunately still triggered the
alerts:
+ https page https link --> https swap page that redirects to desired
page in http
+ https page https link --> https desired page w/ Meta refresh to http
+ https page https link --> https desired page w/ Javascript
window.location change to http
+ https page https link --> https desired page w/ ASP redirect to http
+ https page http link --> http desired page
+ https page https redirect --> https swap page redirecting to desired
page in http
+ https page https redirect --> https desired page w/ ASP redirect to
http
+ https page https redirect --> https desired page w/ Meta refresh to
http
+ https page https redirect --> https desired page w/ Javascript
window.location change to http
+ https page http redirect --> http desired page
& similarly for going from http to https
Perhaps someone has some suggestions and can point me in the right
direction?
Thanks!
Bonnie