Uploaded image for project: 'Magnolia DAM Module'
  1. Magnolia DAM Module
  2. MGNLDAM-510

Attempt to download secured asset give file with zero length instead of Error 403

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 2.0.2
    • None

      Steps to reproduce:

      1. create a secured folder in DAM (e.g. /secured)
      2. upload an asset into the secured folder, e.g. file.pdf
      3. create a page (e.g. /test), add a Download Link pointing to the /secured/file.pdf asset
      4. publish both page and asset
      5. on public instance, specify the ACL on DAM for anonymous role:
        1. DENY on /secured (and subnodes)
        2. READ-ONLY on / (and subnodes)
      6. in a different browser, go to the public instance, open /test page, and click download link - one would expect Error 403, but it opens an empty file;
      7. try the download URL also in wget - it downloads zero length file;

        Acceptance criteria

              Unassigned Unassigned
              jchocholacek Jozef Chocholacek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD