Attachment Checker for Jira
Breadcrumbs

Comparison between Jira built-in feature and Attachment Checker

Feature

Jira built-in feature

Attachment Checker

Restrict file extensions

Admins can specify the extensions to allow/block.

https://akeles.jira.com/wiki/s/-607157113/6452/dcac233cd72e085e65b2712b2fb56d4c18aca08f/_/images/icons/emoticons/check.png

jira restrict file extensions.png

https://akeles.jira.com/wiki/s/-607157113/6452/dcac233cd72e085e65b2712b2fb56d4c18aca08f/_/images/icons/emoticons/check.png

acj restrict file extensions.png


Restrict files without extension

Admins can choose to allow/block files without extension.

https://akeles.jira.com/wiki/s/-607157113/6452/dcac233cd72e085e65b2712b2fb56d4c18aca08f/_/images/icons/emoticons/check.png

jira files without extensions.png

https://akeles.jira.com/wiki/s/-607157113/6452/dcac233cd72e085e65b2712b2fb56d4c18aca08f/_/images/icons/emoticons/check.png

acj files without extension.png

Restrict related file extensions automatically

Admins only need to specify one extension, all related extensions are implicitly allowed/blocked.

https://akeles.jira.com/wiki/s/-607157113/6452/dcac233cd72e085e65b2712b2fb56d4c18aca08f/_/images/icons/emoticons/error.png

jira related extensions not included.png

https://akeles.jira.com/wiki/s/-607157113/6452/dcac233cd72e085e65b2712b2fb56d4c18aca08f/_/images/icons/emoticons/check.png

acj restrict associated extensions.png

Case sensitivity

File extension checks are case-insensitive so admins do not have to specify all combinations.

https://akeles.jira.com/wiki/s/-607157113/6452/dcac233cd72e085e65b2712b2fb56d4c18aca08f/_/images/icons/emoticons/error.png

Admins have to specify all combinations of uppercase/lowercase for an extension.

https://akeles.jira.com/wiki/s/-607157113/6452/dcac233cd72e085e65b2712b2fb56d4c18aca08f/_/images/icons/emoticons/check.png

As an example, exe extension is treated as equivalent to EXE.

MIME type checks

Apache Tika is used to detect the MIME type to prevent bypass of extension check by renaming or removing the file extension.

https://akeles.jira.com/wiki/s/-607157113/6452/dcac233cd72e085e65b2712b2fb56d4c18aca08f/_/images/icons/emoticons/error.png

Restriction can be easily bypassed by renaming the file extensions.

https://akeles.jira.com/wiki/s/-607157113/6452/dcac233cd72e085e65b2712b2fb56d4c18aca08f/_/images/icons/emoticons/check.png

Provides 2 layers of check (File Extension and MIME type).

Exception handling for confidential Microsoft Office files

It is possible to prevent users from uploading confidential files. This MIME type allows the identification of password protected or encrypted Microsoft Office files.

https://akeles.jira.com/wiki/s/-607157113/6452/dcac233cd72e085e65b2712b2fb56d4c18aca08f/_/images/icons/emoticons/error.png

It is not possible to differentiate an encrypted Microsoft Word (docx) file with the file extension

https://akeles.jira.com/wiki/s/-607157113/6452/dcac233cd72e085e65b2712b2fb56d4c18aca08f/_/images/icons/emoticons/check.png

By default, password protected or encrypted Microsoft Office files are not allowed even if the extensions are allowed. This can be granted as an exception.
acj protected and encrypted.png

Backend checks

Checks attachments added via backend:

  • Emails

  • REST APIs

  • ScriptRunner

https://akeles.jira.com/wiki/s/-607157113/6452/dcac233cd72e085e65b2712b2fb56d4c18aca08f/_/images/icons/emoticons/error.png

Restriction only applies to attachments uploaded via UI.

https://akeles.jira.com/wiki/s/-607157113/6452/dcac233cd72e085e65b2712b2fb56d4c18aca08f/_/images/icons/emoticons/check.png

Attachments added via mails will be deleted if file type is not allowed.

Project level settings

Project admins can specify the extensions for different issue types.

https://akeles.jira.com/wiki/s/-607157113/6452/dcac233cd72e085e65b2712b2fb56d4c18aca08f/_/images/icons/emoticons/error.png

Restriction applies to all projects.

https://akeles.jira.com/wiki/s/-607157113/6452/dcac233cd72e085e65b2712b2fb56d4c18aca08f/_/images/icons/emoticons/check.png

Different projects can have different restrictions based on the project purpose/use cases.

Configurable error message

Admins can configure the error message to be displayed when files are blocked.

https://akeles.jira.com/wiki/s/-607157113/6452/dcac233cd72e085e65b2712b2fb56d4c18aca08f/_/images/icons/emoticons/error.png

Standardized error message.
jira error message.png

https://akeles.jira.com/wiki/s/-607157113/6452/dcac233cd72e085e65b2712b2fb56d4c18aca08f/_/images/icons/emoticons/check.png

Allows admins to provide relevant message/instruction to the users.
acj error message.png
acj configurable error message.png

Support 3rd party apps

Checks attachments added via 3rd party apps' endpoints:

https://akeles.jira.com/wiki/s/-607157113/6452/dcac233cd72e085e65b2712b2fb56d4c18aca08f/_/images/icons/emoticons/error.png

Checks are only done for Jira’s attachments.

https://akeles.jira.com/wiki/s/-607157113/6452/dcac233cd72e085e65b2712b2fb56d4c18aca08f/_/images/icons/emoticons/check.png

Support checks for 3rd party apps which uploads/stores the attachments differently. Admins can also choose to include or exclude these apps from the file type check.
acj file type check exclusions.png