AlexLuis
asked on
SSL webpages displaying images from a non SSL domain
I have a classic ASP application and some of my pages are required to be https.
Since I am pulling some images displayed on these secured pages from another external domain i get a an error because the images are coming from a non-secure conection.
Having the external domains to install a secure certificate is not an option for me right now.
Is there any way for me to 'read' the image on the server side and then use the Response object to output the same image from my secure connection instead of leeching directly from the other domain?
Since I am pulling some images displayed on these secured pages from another external domain i get a an error because the images are coming from a non-secure conection.
Having the external domains to install a secure certificate is not an option for me right now.
Is there any way for me to 'read' the image on the server side and then use the Response object to output the same image from my secure connection instead of leeching directly from the other domain?
ASKER
RWJDCom: As I mentioned before we have an AS site (VBScript) is there anyway we can do the same functionality from ASP (and not using PHP) ?
ASKER
RWJDCom: Copying all the images is not an option either, this is a dynamic application and the images are updated in a daily basis.
Thanks
Thanks
AlexLuis: There's most definately a way to do it in ASP but as I do not know ASP someone will need to convert my code to ASP. All you need to do is have the script grab the image file from the current location and display it on your page. I'm sorry I couldn't be of more assistance but the method above WILL work if you can get it converted to ASP. I will see what I can come up.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You would just call the script on your domain https://www.domain.com/get.php?image=<location_of_non_ssl_image
I hope this works for you.
Open in new window