mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-04 02:36:49 +07:00
committed by
GitHub
parent
ecb873ec8c
commit
eb82b93a46
@@ -24,8 +24,8 @@ Examples
|
||||
After installing the File Access Control app as described in :doc:`../apps_management`
|
||||
navigate to the configuration and locate the File Access Control settings.
|
||||
|
||||
.. image:: images/files_access_control_sample_rules.png
|
||||
:alt:
|
||||
.. figure:: images/files_access_control_sample_rules.png
|
||||
:alt: Sample rules to block on user group, time and IP base.
|
||||
|
||||
The first rule group ``Support only 9-5`` denies any access to files for users
|
||||
of the Support user group, between 5pm and 9am.
|
||||
@@ -48,8 +48,8 @@ user could remove and reassign the tag.
|
||||
|
||||
This example blocks access to any folder with the tag ``Confidential``.
|
||||
|
||||
.. image:: images/files_access_control_collaborative_tags.png
|
||||
:alt:
|
||||
.. figure:: images/files_access_control_collaborative_tags.png
|
||||
:alt: Deny access based on collaborative tag
|
||||
|
||||
Prevent uploading of specific files
|
||||
-----------------------------------
|
||||
@@ -63,8 +63,8 @@ used for the type of file you're trying to block.
|
||||
The following example prevents zip files from being uploaded by using the regular
|
||||
expression: ``/^application\/(zip|x-zip-compressed)$/i``
|
||||
|
||||
.. image:: images/files_access_control_block_mimetype.png
|
||||
:alt:
|
||||
.. figure:: images/files_access_control_block_mimetype.png
|
||||
:alt: Prevent upload based on mimetype
|
||||
|
||||
Common misconfigurations
|
||||
------------------------
|
||||
|
||||
@@ -21,8 +21,8 @@ Example
|
||||
After installing the Files automated tagging app as described in :doc:`../apps_management`
|
||||
navigate to the configuration and locate the Workflow settings.
|
||||
|
||||
.. image:: images/automated_tagging_sample_rule.png
|
||||
:alt:
|
||||
.. figure:: images/automated_tagging_sample_rule.png
|
||||
:alt: Example rule to assign a restricted tag.
|
||||
|
||||
In the example you can see a simple rule with only one condition.
|
||||
It will tag all files with the restricted tag ``Protected file`` that are
|
||||
@@ -33,8 +33,8 @@ both work fine without users being able to work around them.
|
||||
In this case folder will be also tagged with tag ``Protected file``, to avoid
|
||||
this, simply modify the rule to exclude Directory ``httpd/unix-directory`` from it.
|
||||
|
||||
.. image:: images/automated_tagging_sample_rule_exclude_folder.png
|
||||
:alt:
|
||||
.. figure:: images/automated_tagging_sample_rule_exclude_folder.png
|
||||
:alt: Example rule to assign a restricted tag except to Directory.
|
||||
|
||||
Available rules
|
||||
---------------
|
||||
|
||||
@@ -11,8 +11,8 @@ Example
|
||||
After installing the Retention app as described in :doc:`../apps_management`
|
||||
navigate to the configuration and locate the Workflow settings.
|
||||
|
||||
.. image:: images/retention_sample.png
|
||||
:alt:
|
||||
.. figure:: images/retention_sample.png
|
||||
:alt: Sample rule to delete files after 14 days.
|
||||
|
||||
The rule from the example will delete all files tagged with ``Temporary file`` after 14 days.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user