Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • mmaty 117 posts 311 karma points
    Sep 09, 2016 @ 10:52
    mmaty
    0

    Protecting the media folder / No Backend access to media

    Hi,

    in Umbraco 7.1.* I used to protect the media folder using a web.config file in the media folder:

    <configuration>
        <system.web>
            <authorization>
                <allow roles="MemberRole1,MemberRole2,.." />
                      <deny users="*" />
            </authorization>
        </system.web>  
    </configuration>
    

    After an update to U 7.4.3 backend users don't have access to media (like http://mysite.com/media/4711/mymediafile.jpg) anymore. I tried adding the backend roles to the allow list (Administrator, Editor, Writer...) but with no success.

    How can I solve this problem?

    Thanks in advance for reading and answering.

    Mirko

  • mmaty 117 posts 311 karma points
    Sep 26, 2016 @ 12:56
  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies