Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
minLevel1
maxLevel7

...

2 layers of filter

The file type blocking consist of the extension check and mime MIME type check.

...

Extension check is based on the filename of the attachment. For example, if filename is myAttachment.jpg, the extension will be jpg.

Mime MIME type check is based on the contents of the attachment. It prevents the bypass of extension check by renaming or removing the extension.

Info

Apache Tika is used to detect the mime type of the attachment uploaded.

Refer to Supported Document Formats to find out which file types are supported.

...

2 filter modes

Attachments can be filtered based on:

  • Allowlist → Only file types listed are allowed to be uploaded

  • Denylist → Only file types listed are blocked from being uploaded

Allowlist

Denylist

For example, extensions is configured to: jpg, png, gif, svg

Only the following files will be allowed:

Tip

jpg, jpeg, jpe, jif, jfif, jfi, png, gif, svg, svgz

Image Modified

For example, extensions is configured to: exe

Only the following files will be blocked:

Warning

exe, dll, com

Image Modified

...

Recommended file types

You can use the following list of extensions:

...