Developer forum

Forum » CMS - Standard features » Secured Folder Unexpected Behavior

Secured Folder Unexpected Behavior

Melissa Borgmann
Melissa Borgmann
Reply

Hello!

Digging up an old thread as we've followed the instructions provided (here and here) and are not getting the expected behavior on a 9.13.8 solution - hoping we're just missing something obvious :) Goal is to limit the folder content visibility on the frontend to only logged in users on a site.

Please see below for settings and here for the screencast showing a logged in user still getting a 401 error. We also tried a number of different permission combinations on the folder itself from the File Manager without any luck.

Any guidance would be appreciated.


Replies

 
Scott Forsyth Dynamicweb Employee
Scott Forsyth
Reply
This post has been marked as an answer

Hi Melissa,

I agree, the docs aren't clear on that. The gotcha is that you can't access it directly with that URL. Instead, you need to go through the DWSDownload.aspx handler. If you edit the link in your test page, make it the following instead: https://{domain}/Admin/Public/DWSDownload.aspx?File=Files/Files/SecureFolderTest/favicon.ico

I tested with your URL and currently it downloads without prompting, but you have the option of changing the permissions on that file to just the groups that should be able to download it.

Scott

Votes for this answer: 1

 

You must be logged in to post in the forum