Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Basic Remote Image to SSL Server

by Corion (Patriarch)
on Oct 19, 2016 at 07:18 UTC ( [id://1174276]=note: print w/replies, xml ) Need Help??


in reply to Basic Remote Image to SSL Server

You will have to fetch the resource via HTTP through a proxy script and then serve the resource under your website content via HTTPS. There are examples in (for example) LWP::UserAgent::Paranoid and LWPx::ParanoidAgent.

Note that your script needs to be very paranoid to prevent Javascript data from being served in an image context etc. - I think the popular approach nowadays is to serve such content from a separate domain or subdomain and have the forum page supply the appropriate CORS headers.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1174276]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-04-18 01:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found