DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Unable to open File management root folders

Sort:
You are not authorized to post a reply.





New Around Here





    getting below error when we open site root asest folder in QA site:

    Mixed Content: The page at '' was loaded over HTTPS, but requested an insecure resource ''. This request has been blocked; the content must be served over HTTPS.

    Mixed Content: The page at 'https://site.com//apps/si...amp;pageSize=10' was loaded over HTTPS, but requested an insecure resource 'http://site.com/apps/site-assets/ctl/folderproperties/mid/589?returnurl=https%3a%2f%2fsite.com%2fapps%2fsite-assets&popUp=true&folderId=37&skinSrc=Portals%2F_default%2FSkins%2F_default%2FpopUpSkin'. This request has been blocked; the content must be served over HTTPS.

    Any one please help me on this






    Veteran Member





      Anjali,

      I would suggest to implement HSTS (HTTP Strict Transport Security) - that should solve the problem, as all insecure requests to the server will be upgraded. It is just adding a response header - see https://scotthelme.co.uk/...tp-response-headers/ for more information.

      Happy DNNing!
      Michael

      PS: Please ignore the section about Public Key Pinning in the linked article - this is a bad idea, as it contains some risks. The article is from 2015, and PKP is not recommended anymore.

      Michael Tobisch
      DNN★MVP

      dnnWerk Austria
      DNN Connect





      New Around Here





        Michael Tobisch, Getting same issue when I applied that "custom http Response header" setting in IIS that you suggest

        for "HTTP Strict Transport Security" into https://scotthelme.co.uk/...tp-response-headers/

         

         






        Veteran Member





          Anjali,

          maybe this is too less. Have you tried implementing a rewrite rule that changes http to https?

          
          [rewrite]
             [rules]
                [rule name="HTTP to HTTPS redirect" stopProcessing="true"]
                   [match url="(.*)" /]
                   [conditions]
                      [add input="{HTTPS}" pattern="off" ignoreCase="true" /]
                   [/conditions]
                   [action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="Permanent" /]
                [/rule]
             [/rules]
          [/rewrite]
          
          

          Please note: For IIS previous to version 10.0 1709 it is necessary to install the Url Rewriter Module for IIS to make this work. And I used square brackets instead of angle brackets here, as the code will not display otherwise...

          Happy DNNing!
          Michael

          Michael Tobisch
          DNN★MVP

          dnnWerk Austria
          DNN Connect





          Advanced Member





            If you ssl termination is not in iis (load balancer or reverse proxy or some such) you need to set an https header and configure that in Dnn ssl settings. Not sure if that is your problem, but might work checking...
            You are not authorized to post a reply.

            These Forums are dedicated to the discussion of DNN Platform.

            For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

            1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
            2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
            3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
            4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
            5. No Flaming or Trolling.
            6. No Profanity, Racism, or Prejudice.
            7. Site Moderators have the final word on approving / removing a thread or post or comment.
            8. English language posting only, please.

            Would you like to help us?

            Awesome! Simply post in the forums using the link below and we'll get you started.

            Get Involved