FilterCommand#
FilterCommand is not a plugin to install. It is the example that the earlier documentation gave as source code, to show how a plugin can look at each command a user sends and change or refuse it: for example refusing DELE for files of one kind, or rewriting a path.
Version 27 has no screen for it and does not come with it.
In version 27#
| To | Use |
|---|---|
| refuse uploads by the kind of file | ContentBlocker |
| allow or forbid single actions in a folder | the folder's permissions |
| forbid whole commands or protocols for a user | Restrictions, Protocols |
| act on what a user did, after the fact | events |
| a rule none of these covers | a plugin of your own: Writing a plugin, which describes the same hook the example used |