Any way to keep the website secure with images linked from the outside?

In the header ad of my theme it’s only possible to ad a code so I was playing around with it and added a CPA offer to it with this code:

<a href="http://www.mb102.com/lnk.asp?o=2675&c=36992&a=233013&l=2076"> <IMG SRC="http://www.mb102.com/getimage.asp?a=233013&m=2452&o=2675&i=36992.dat" width=728 height=90 border=0> </a>
Works fine but the downfall is that my SSL certificate breaks and you see in your browser that the website is insecure which is never good.

Any way to make this work?

You should ask the ad provider for TLS support.

+1

If that's totally impossible, one approach that some websites (e.g. Github) use when they want to use HTTPS but also serve arbitrary user images in context that may/may not be HTTPS is to use a proxy to re-serve images over TLS. Github uses one called Camo.

Do you actually have to use www.mb102.com? Because it has an SSL certificate for www.maxbounty.com and maxbounty.com and redirects to www.maxbounty.com as well. So maybe it would be enough if you just used img src="//www.maxbounty.com/getimage.asp?.. to link those images. Give it a go at least.

But I doubt Camo works properly for ads…

Thanks for the answers guys, I will see what I can do with them in a few days, I have some serious info overload from the past couple weeks 24/7 working on projects, time to take a break.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.