How to change the file types blocked by Companion in Windows

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く


目的

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 COM, .EXE, .BAT, or .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:

.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC

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:

  1. In Windows settings, search for Environment Variables and choose either Edit the system environment variables or Edit the environment variables for your account. 
  2. Click the Environment Variables button.
  3. Click New'.
  4. In the Variable name field, enter 'COMPANION_BLOCK_LIST'.
    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. 

    .PSD;.VSD
  5. Restart Atlassian Companion app. 


説明 Atlassian Companion blocks users from editing files that may pose a security risk, such as executable files. Find out how to change which file types are blocked.
製品Confluence

最終更新日: 2020 年 2 月 3 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.