How to change the file types blocked by Companion in Windows
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the server and data center platforms.
Atlassian Companion, which is used for editing files in Confluence, blocks users from editing files that may pose a security risk, such as executable files. Companion will not open any file with a
.CMD file extension. Companion will also refuse to open any file that has no default application associated with it, and has a file extension listed in the
PATHEXT environment variable. The default value of this environment variable is:
You can further limit the files that companion is allowed to open in Windows by setting the
COMPANION_BLOCK_LIST environment variable. This change must be made on each individual user's computer. There's no way to set this for all users in your site. This environment variable is only available in Atlassian Companion 1.0.0 and later.
To set the
COMPANION_BLOCK_LIST environment variable:
- In Windows settings, search for Environment Variables and choose either Edit the system environment variables or Edit the environment variables for your account.
- Click the Environment Variables button.
- Click New'.
In the Variable name field, enter '
In the Variable value field, enter the file extensions you wish to block, separated by a semicolon as follows. In this example we're blocking Photoshop and Visio files.
- Restart Atlassian Companion app.
Was this helpful?Yes Provide feedback about this article