Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    Webapp in iframe

    Kopano WebApp
    5
    6
    306
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • alindemann
      alindemann last edited by

      Hi,

      is there a config option to allow the WebApp to be embedded into another page by iframe? The CSP is blocking this and I couldn’t find any option regarding framing.

      Regards
      A. L.

      1 Reply Last reply Reply Quote 0
      • marty
        marty Kopano (Inactive) last edited by

        @alindemann
        This is not really related to WebApp.

        Working webapp in iframe:
        https://www.w3schools.com/code/tryit.asp?filename=G7X7Y5256C63

        https://documentation.kopano.io/deskapp_admin_manual
        http://documentation.kopano.io/webapp_smime_manual
        https://documentation.kopano.io/webapp_admin_manual

        1 Reply Last reply Reply Quote 0
        • thctlo
          thctlo last edited by thctlo

          @alindemann said in Webapp in iframe:

          find any option regarding framing.

          Perhaps this is set in the webserver.
          Example in apache2, i dont use nginx… (sorry) but enough example on the internet.
          Header set X-Frame-Options: “sameorigin”

          I suggest, check you site with : https://securityheaders.com

          And set what you need withing the vhost.

          fbartels longsleep 2 Replies Last reply Reply Quote 0
          • fbartels
            fbartels Kopano @thctlo last edited by

            @alindemann @thctlo except when you are running kweb then you always need to specify csp yourself. WebApp does not enforce them on its own (which is what @marty was already saying).

            Regards Felix

            Resources:
            https://kopano.com/blog/how-to-get-kopano/
            https://documentation.kopano.io/
            https://kb.kopano.io/

            Support overview:
            https://kopano.com/support/

            1 Reply Last reply Reply Quote 0
            • thctlo
              thctlo last edited by

              @fbartels said in Webapp in iframe:

              hen you are running kweb then you always need to specify csp yourself.

              Ok, so kweb handles this already? that is a nice feature.
              Most people forget to set CSP.

              1 Reply Last reply Reply Quote 0
              • longsleep
                longsleep Kopano @thctlo last edited by

                @thctlo said in Webapp in iframe:

                Header set X-Frame-Options: “sameorigin”

                Remember that X-Frame-Options is kind of obsolete - use https://developer.mozilla.org/docs/Web/HTTP/Headers/Content-Security-Policy/frame-ancestors instead to have proper protection.

                @thctlo said in Webapp in iframe:

                Ok, so kweb handles this already? that is a nice feature.

                Yes. It is one of the main reasons why kweb exists. Shipping a solid web server configuration which includes things people tend to forget or are complicated to set up.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post