• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Are iFrames ever a good idea?

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

    Are iFrames ever a good idea?

    Vidahost has an automatic redirect that webmail.sitename.com redirects to webmail.gridhost.co.uk, this automatic redirect can't use SSL.

    My plan is if I create a subdomain called mail.sitename.com which I can use an SSL certificate on, and the only page on the subdomain is a full size iframe for https://webmail.gridhost.co.uk, is this a bad idea? If so how bad an idea is it?
    Originally posted by Stevie Wonder Boy
    I can't see any way to do it can you please advise?

    I want my account deleted and all of my information removed, I want to invoke my right to be forgotten.

    #2
    Need a NickFitz for this one. But, apart from security concerns, if your website is http it may not load all the content from an https page.

    Why you should not mix http and https when using iframes | Advanced iframe | TinyWebGallery Blog

    Using php file_get_contents('https://webmail.gridhost.co.uk/'); and echoing gives a page with identical source to original but all the images & style are not showing.
    Last edited by xoggoth; 29 June 2017, 16:57.
    bloggoth

    If everything isn't black and white, I say, 'Why the hell not?'
    John Wayne (My guru, not to be confused with my beloved prophet Jeremy Clarkson)

    Comment


      #3
      Nope. Says "This content cannot be displayed in a frame"

      http://www.xoggoth.org/pages/mail.html
      Last edited by xoggoth; 29 June 2017, 21:22.
      bloggoth

      If everything isn't black and white, I say, 'Why the hell not?'
      John Wayne (My guru, not to be confused with my beloved prophet Jeremy Clarkson)

      Comment


        #4
        In principle they are fine, lots of sites use them for eCommerce to load the payment providers window on the parent site, but it has to be done right and if you get it wrong you leave yourself open to exploitation of your site.
        Last edited by DaveB; 30 June 2017, 10:13.
        "Being nice costs nothing and sometimes gets you extra bacon" - Pondlife.

        Comment


          #5
          Why do you want an iframe? Just create an actual alias that auto redirects to the webmail client. mail.personaldomain.com redirects me directly to mail.google.com and I have no with ssl error messages...

          Likewise mail.corporate.com goes to outlook.office365.com
          merely at clientco for the entertainment

          Comment


            #6
            Why do you want an iframe? The Samsung Galaxy Frame is far better.
            …Maybe we ain’t that young anymore

            Comment


              #7
              Originally posted by eek View Post
              Why do you want an iframe? Just create an actual alias that auto redirects to the webmail client. mail.personaldomain.com redirects me directly to mail.google.com and I have no with ssl error messages...

              Likewise mail.corporate.com goes to outlook.office365.com
              I want the address bar to show my domain not the gridhost
              Originally posted by Stevie Wonder Boy
              I can't see any way to do it can you please advise?

              I want my account deleted and all of my information removed, I want to invoke my right to be forgotten.

              Comment


                #8
                Get yer own domain name + hosting, VPS very cheap

                Comment


                  #9
                  Originally posted by SimonMac View Post
                  I want the address bar to show my domain not the gridhost
                  eeks suggestion should do that. Domain alias or cname is what you're looking for, as long as vidahost doesn't configure the hosting to only work for a certian FQDN, which is unlikely.

                  Comment


                    #10
                    Something to bear in mind, if you do what you were talking abour earlier and have a page containing nothing but a full screen iFrame to a site, when users navigate around that site the address bar will not change, the title bar will not change and they will not be able to create shortcuts to the content.

                    There is nothing inherently wrong with using an iFrame, its the way that the verified by visa and mastercard solutions used to work (Still do as far as I know - but its been a while since I dealt with them!)

                    Comment

                    Working...
                    X