Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2007
    Posts
    153
    Plugin Contributions
    0

    help question Image URLS & SSL warnings

    Good morning, all ... it's silly question time again.
    Have a situation I need to understand. Earlier today rhys100 posted an item saying his site was getting SSL messages and the solution was to take hard coded URLS for images out of his sideboxes, or to code them with the https protocol.
    This is the first time I've heard anything about this and want to make sure I understand.
    So what I'm hearing is that if a page is to be displayed as secure, that is https://www.--- etc., then no urls can be used on the page that point to another domain, and must be either addressed relatively to the secure page, or use the secure protocol https if hardcoded. I imagine this applies to urls for any media, not just images and deviation from this results in the secure pages throwing warning messages.
    Please let me know if this is correct. Thanks for setting me straight on this.
    inovermyhead

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Image URLS & SSL warnings

    HTTPS is the "section" of a webserver that ensures that data transmission between the host and the client (webserver and your customer), is encrypted.

    If any resources (web pages, websites, images, files, etc) are called OUTSIDE of this https, the BROWSER will alert the view to the fact that some items are "insecure".

    For the most part, it's an annoying popup, but many people get frightened when they see this, and may elect NOT to shop with you.

    To avoid this, one needs to be careful how one "inserts" URL's and other links in your webshop - particularly the HTTPS parts.

    If, for example, you have a sidebox that calls an image from somewhere else on the internet (you're cousin's website in Alaska), you would probably have to reference this image as:-

    <img src="http://www.my_cousins_website_in_alaska.com/images/hotdog.jpg>

    This is where the problem can creep in, because, as you can see, there is a HARD CODED link (http://www.my_cousins_website_in_alaska.com) that calls a resource OUTSIDE the https.
    20 years a Zencart User

  3. #3
    Join Date
    Feb 2007
    Posts
    153
    Plugin Contributions
    0

    Default Re: Image URLS & SSL warnings

    Thanks for the fast reply, schoolboy.

    I think you've confirmed what my take was. I guess the best thing to do is never use any hotlinked files where they might be used in a secure page, always copy them to your site, even the ones for the link exchange where they want you to hotlink them. And if you hard code them, use the https:

    Thanks again,
    inovermyhead

 

 

Similar Threads

  1. v154 ssl warnings
    By mike14017 in forum General Questions
    Replies: 2
    Last Post: 14 May 2015, 09:44 AM
  2. security warnings about images (SSL links)
    By Muzz in forum General Questions
    Replies: 6
    Last Post: 26 Aug 2010, 06:09 AM
  3. Replies: 19
    Last Post: 20 Nov 2009, 11:33 PM
  4. Just added SSL. IE throws warnings. FF doesn't.
    By stiggy100 in forum General Questions
    Replies: 1
    Last Post: 29 Oct 2009, 04:34 AM
  5. cURL SSL Support - warnings when installing on GoDaddy
    By raceroffroad in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 24 Mar 2008, 05:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg