留言板

WebDAV filter

Deadlox Deadlox,修改在11 年前。

WebDAV filter

New Member 帖子: 7 加入日期: 12-6-18 最近的帖子
Hello,

I will wish to filter files in the webdav.
What class do i overload ?

Thanks.
thumbnail
Vilmos Papp,修改在11 年前。

RE: WebDAV filter

Liferay Master 帖子: 529 加入日期: 10-10-21 最近的帖子
Hi,

If you would like to filter files by exact filenames or extensions you can take a look at portal.properties:
##
## WebDAV
##

    #
    # Set a list of files for the WebDAV servlet to ignore processing.
    #
    webdav.ignore=.DS_Store,.metadata_index_homes_only,.metadata_never_index,.Spotlight-V100,.TemporaryItems,.Trashes,Backups.backupdb

You can extend this list by adding, and modifying this list to your portal-ext.properties file.

Regards,
Vilmos
Deadlox Deadlox,修改在11 年前。

RE: WebDAV filter

New Member 帖子: 7 加入日期: 12-6-18 最近的帖子
Thanks, but i want to make a custom filter on each file, is it possible ?
thumbnail
Vilmos Papp,修改在11 年前。

RE: WebDAV filter

Liferay Master 帖子: 529 加入日期: 10-10-21 最近的帖子
I thinks so, but separate filter for each file, maybe not a good idea. What would you like to achive by these filters?
Deadlox Deadlox,修改在11 年前。

RE: WebDAV filter

New Member 帖子: 7 加入日期: 12-6-18 最近的帖子
I would like to choose some files with some specifics conditions (by date that depends on user attribute for example Birthday... )
I need the service used by webdav that list files and folders so i can restrain this list

Thanks