掲示板

WebDAV filter

11年前 に Deadlox Deadlox によって更新されました。

WebDAV filter

New Member 投稿: 7 参加年月日: 12/06/18 最新の投稿
Hello,

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

Thanks.
thumbnail
11年前 に Vilmos Papp によって更新されました。

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
11年前 に Deadlox Deadlox によって更新されました。

RE: WebDAV filter

New Member 投稿: 7 参加年月日: 12/06/18 最新の投稿
Thanks, but i want to make a custom filter on each file, is it possible ?
thumbnail
11年前 に Vilmos Papp によって更新されました。

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?
11年前 に Deadlox Deadlox によって更新されました。

RE: WebDAV filter

New Member 投稿: 7 参加年月日: 12/06/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