Announcement

Collapse
No announcement yet.

Bing Cashback Gleam Code causing Security Warnings

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Bing Cashback Gleam Code causing Security Warnings

    I was getting the dreaded Security Warning about unsecure content on a secure page. This only happened when logged into a customer account, clicking on the category tree which uses relative links, and then clicking through to a PROD page. The warning came up when trying to load the PROD page. I knew that all my images had relative links, so I took a closer look at the links to javascript. Turns out the culprit is the Live Search cashback Gleam Code!

    I removed <mvt:item name="mslscb" param="prod" /> from my Product Display Layout and the crisis has been averted. However, we need MIVA to fix this problem ASAP, as this is a bad time (i.e. Double Cashback) to be in Bing Cashback Limbo.

    From what I can gather, <mvt:item name="mslscb" param="prod" /> calls out the following code:
    Code:
    <!-- Begin Live Search cashback Gleam Code -->
    <script language="javascript" type="text/javascript">
    var msid = Math.floor( 1000000000 * Math.random() ) + 1000000000;
    var msbg = document.bgColor;
    if ( msbg.charAt( 0 ) == "#" ) msbg = msbg.slice( 1 );
    document.write(
    '<script language="javascript" ' +
    'type="text/javascript" ' +
    'src="http://search.live.com/cashback/prod...ipt.ashx?&#39; +
    'merchantId=XXX&type=1&bgcolor=' + msbg + '&version=1.00">' );
    </script>
    </script>
    <!-- End Cashback Gleam Code -->
    Note: I did not notice this problem prior to PR6.

    How does one go about suspending the Bing Cashback Program until this problem is resolved?
    Bronson Design Studio, LLC
    Website: bronsondesign.com
    Facebook: facebook.com/bronsondesign

    #2
    Re: Bing Cashback Gleam Code causing Security Warnings

    Please open a ticket with support on this. We'll look right away.
    Thanks,

    Rick Wilson
    CEO
    Miva, Inc.
    [email protected]
    https://www.miva.com

    Comment


      #3
      Re: Bing Cashback Gleam Code causing Security Warnings

      Originally posted by Rick Wilson View Post
      Please open a ticket with support on this. We'll look right away.
      Ticket ID:BJZ-544082
      Bronson Design Studio, LLC
      Website: bronsondesign.com
      Facebook: facebook.com/bronsondesign

      Comment


        #4
        Re: Bing Cashback Gleam Code causing Security Warnings

        Hello,

        I noticed that after logging in that the category links under Shop By Category reference a secure URL while the links under Shop By Brand do not.

        I'll have to double check with the developer but I am pretty certain that Microsoft does not provide a secure gleam URL.
        Jim McCormick
        Miva Merchant Support
        866-284-9812

        https://www.miva.com

        Comment


          #5
          Re: Bing Cashback Gleam Code causing Security Warnings

          Originally posted by Jim McCormick View Post
          I'll have to double check with the developer but I am pretty certain that Microsoft does not provide a secure gleam URL.
          That's a big problem. What's the quickest, most efficient way, to pull the plug on Bing Cashback? If this can't be fixed, I'll want to remove my products from their website asap.

          Edit: I'd also like a refund on my remaining funds in there, but unfortunately Bing Cashback does not offer phone support at this time.
          Last edited by papi34; 08-17-09, 09:20 AM.
          Bronson Design Studio, LLC
          Website: bronsondesign.com
          Facebook: facebook.com/bronsondesign

          Comment


            #6
            Re: Bing Cashback Gleam Code causing Security Warnings

            The gleam is marketing material, any reason you need it to be on a secure page?
            Thanks,

            Rick Wilson
            CEO
            Miva, Inc.
            [email protected]
            https://www.miva.com

            Comment


              #7
              Re: Bing Cashback Gleam Code causing Security Warnings

              Originally posted by Rick Wilson View Post
              The gleam is marketing material, any reason you need it to be on a secure page?
              No, I dont need it on my pages at all. I was just following the set up instructions. Will customers still be tracked and get cashback after removing the <mvt:item name="mslscb" param="prod" /> from my Product Display Layout ?
              Bronson Design Studio, LLC
              Website: bronsondesign.com
              Facebook: facebook.com/bronsondesign

              Comment


                #8
                Re: Bing Cashback Gleam Code causing Security Warnings

                I need to check on that. I think the question I was driving to, is why would your PROD page be secure?
                Thanks,

                Rick Wilson
                CEO
                Miva, Inc.
                [email protected]
                https://www.miva.com

                Comment


                  #9
                  Re: Bing Cashback Gleam Code causing Security Warnings

                  Originally posted by Rick Wilson View Post
                  I need to check on that. I think the question I was driving to, is why would your PROD page be secure?
                  It would only be secure when you arrive there via the following steps:
                  1) Logging in as a customer (secure page)
                  2) clicking on the category tree which uses relative links (remains a secure page)
                  3) and then clicking through to a PROD page using relative links (remains a secure page)
                  Last edited by papi34; 08-17-09, 09:30 AM.
                  Bronson Design Studio, LLC
                  Website: bronsondesign.com
                  Facebook: facebook.com/bronsondesign

                  Comment


                    #10
                    Re: Bing Cashback Gleam Code causing Security Warnings

                    The fix everyone will recommend is turning the relative links into absolute links beginning with http:// so that you never waste cycles securing those unnecessary pages. However, I think that the Bing module should include a secure version just so it plays nicely with the majority of the sites out there.

                    Comment


                      #11
                      Re: Bing Cashback Gleam Code causing Security Warnings

                      We're reaching out to MSFT to see if they've updated that, however for a number of non Bing related reasons I would agree with Brandon, you want to only use secure pages when necessary.
                      Thanks,

                      Rick Wilson
                      CEO
                      Miva, Inc.
                      [email protected]
                      https://www.miva.com

                      Comment


                        #12
                        Re: Bing Cashback Gleam Code causing Security Warnings

                        The best option like Brandon MUS said is to make all your links absolute to the non https version. This was no matter how someone gets to your site they will never be browsing in secure mode.

                        In your case the only way someone can get to your site in secure mode is by logging in to their account. It then redirects them to a secured version of the homepage. If you don't want to update all your links to be absolute then a another option would be to take people to their account edit page when logging in or take them to a "fake" page which then redirects them (through javascript or a meta redirect) back to the non secure version of your homepage. That way the user can never browse you site in secure mode.
                        Brennan Heyde
                        VP Product
                        Miva, Inc.
                        [email protected]
                        https://www.miva.com

                        Comment


                          #13
                          Re: Bing Cashback Gleam Code causing Security Warnings

                          Originally posted by Brandon MUS View Post
                          The fix everyone will recommend is turning the relative links into absolute links beginning with http:// so that you never waste cycles securing those unnecessary pages. However, I think that the Bing module should include a secure version just so it plays nicely with the majority of the sites out there.
                          I use Sebenza's Category Template Manager and shortlinks. So are you suggesting, I go into each category template and change:
                          <base href="&mvt:global:basehref;"> to <base href=http://www.bronsondesign.com> ?
                          Bronson Design Studio, LLC
                          Website: bronsondesign.com
                          Facebook: facebook.com/bronsondesign

                          Comment


                            #14
                            Re: Bing Cashback Gleam Code causing Security Warnings

                            I wouldn't change the base href because that determines a lot of other paths like to your css and javascripts.

                            If you are going to make all the links absoulte go into your category tree template and your global header / footer and change

                            <a href="/category/accessories.html" class="cat">&nbsp;&nbsp;Accessories (891)</a><br>

                            to this:

                            <a href="http://www.bronsondesign.com/category/accessories.html" class="cat">&nbsp;&nbsp;Accessories (891)</a><br>

                            This way anytime someone clicks that link it will always be non secure.
                            Brennan Heyde
                            VP Product
                            Miva, Inc.
                            [email protected]
                            https://www.miva.com

                            Comment


                              #15
                              Re: Bing Cashback Gleam Code causing Security Warnings

                              Thanks Brennan....excellent suggestion!!!

                              I only needed to made the change once in my Sebenza Category Tree Template. Now all links in my category tree are are http.

                              I'd still like to know what Rick finds out regarding the necessity of <mvt:item name="mslscb" param="prod" /> in my Product Display Layout for Bing Cashback to function properly.
                              Bronson Design Studio, LLC
                              Website: bronsondesign.com
                              Facebook: facebook.com/bronsondesign

                              Comment

                              Working...
                              X