Developer forum

Forum » CMS - Standard features » User files restriction

User files restriction

Dan Lundgren
Reply

Hi.

I wrote this thread earlier regarding how to display user files for specific customers:
http://developer.dynamicweb.com/forum/cms-standard-features/cms-standard-features/files-on-userpages.aspx

From what i saw of the answers i got in the thread and what answers we've managed to find during our current project, it seems like you can display user-specific files by either using razortags/templateextenders or by adding filepublish-paragraphs that restrict access to only one user per folder.
However, when it comes to restrict access to files for users, all files in the samer usergroup is able to access eachothers files through directURL in the browser.
We have all the B2B-customers in the same usergroup.
Ive tried the following:

-Add filepublishparagraphs that points to specific folders during the Extranet Secure-folder, which only the specific user have access to, everybody else do not have access to it(permissions set on paragraph).

-Found this thread and did the steps according to it:
http://developer.dynamicweb.com/forum/development/filemanager-permissions.aspx

I did set the permissions for the folders in the AccessElementPermission table, but it doesnt work.
I have disabled anonymous access aswell in the IIS.

Is there a way to restrict user files so that users in the same usergroups cant access eachothers files through directURL?

Best regards
Dan


Replies

 

You must be logged in to post in the forum