Skip to content
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.

Commit

Permalink
PLF-7902 : Restrict WebDAV folder listing only for some paths (#288)
Browse files Browse the repository at this point in the history
  • Loading branch information
aboughzela committed Apr 18, 2018
1 parent e02a322 commit f195048
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Expand Up @@ -726,6 +726,12 @@
#exo.webdav.update-policy=create-version
#exo.webdav.folder-icon-path=/eXoWCMResources/skin/images/file/nt-folder.png
#exo.webdav.cache-control=text/*:max-age=3600;image/*:max-age=1800;application/*:max-age=1800;*/*:no-cache
#Configure allowed webdav listing resources, default value (empty regex) allow access to all resources
#To restrict listing access, you can addd wokspace_Name:/regex
#Exmaple : the follow regex allow listing access to users folders, groups folders, sites folders and gadgets folders
#(collaboration:/Users/(.*)/(.*)/(.*)/(.*))|(collaboration:/Groups/(.*))|(collaboration:/sites/(.*))|(portal-system:/production/app:gadgets/(.*))
#exo.webdav.folder.listing.paths.allowed.regex=


#JCR Bloom Filter configuration
#exo.jcr.bloomfilter.system.enabled=true
Expand Down
Expand Up @@ -15,6 +15,12 @@
<value>${webdav.def-folder-node-type:nt:folder}</value>
</value-param>

<!-- define the allowed folder paths regex-->
<value-param>
<name>folder-listing-paths-allowed-regex</name>
<value>${exo.webdav.folder.listing.paths.allowed.regex:}</value>
</value-param>

<!-- default node type which is used for the creation of files -->
<value-param>
<name>def-file-node-type</name>
Expand Down

0 comments on commit f195048

Please sign in to comment.