mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 02:09:45 +07:00
Add zip blocking example
This commit is contained in:
@@ -49,6 +49,20 @@ This example blocks access to any folder with the tag ``Confidential``.
|
||||
.. figure:: images/files_access_control_collaborative_tags.png
|
||||
:alt: Deny access based on collaborative tag
|
||||
|
||||
Prevent uploading of specific files
|
||||
-------------------------
|
||||
|
||||
It's possible to prevent specific files from being uploaded to Nextcloud. You
|
||||
simply need to define a rule based on the mimetype and our powerful access control
|
||||
engine will block any attempt to upload the file. The safest way to define the rule
|
||||
is to use a regular expression, as it will help you cover all the known media types
|
||||
used for the type of file you're trying to block.
|
||||
|
||||
The following example prevents zip files from being uploaded.
|
||||
|
||||
.. figure:: images/files_access_control_block_mimetype.png
|
||||
:alt: Prevent upload based on mimetype
|
||||
|
||||
.. _available-rules-label:
|
||||
|
||||
Available rules
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
Reference in New Issue
Block a user