# 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](Plugin-ContentBlocker.md) |
| allow or forbid single actions in a folder | the folder's [permissions](VFS-Permissions.md) |
| forbid whole commands or protocols for a user | [Restrictions](Users-Restrictions.md), [Protocols](Users-Restrictions-Protocols.md) |
| act on what a user did, after the fact | [events](Users-Events.md) |
| a rule none of these covers | a plugin of your own: [Writing a plugin](Plugins-Writing-Your-Own.md), which describes the same hook the example used |
