Copied to clipboard

Flag this post as spam?

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


  • mmaty 99 posts 228 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 99 posts 228 karma points
    Sep 26, 2016 @ 12:56
Please Sign in or register to post replies

Write your reply to:

Draft