Prevent upload of attachments via drag&drop during viewing

Deleted user June 26, 2018

Hello,

 

as described in the title, is there an option to disable the Upload?

One of my users accidentally uploaded an unrelated file because he dragged it over his screen and released it on the confluence page.

He did not realize it until another colleague asked him, what that is.

 

This could be a security risk, if he uploads a confidential file to a public page.

 

Kind regards

 

2 answers

1 accepted

1 vote
Answer accepted
Ollie Guan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 26, 2018

Hi @[deleted],

Pls try searching for the keyword in the system plug-in and deactivate it

Confluence Drag and Drop Plugin

disable.png

Deleted user June 27, 2018

Hi @Ollie Guan,

but that would disable the whole functionality wouldn't it?

 

I just want to deactivate it during viewing, it should still be possible in Edit Mode.

Ollie Guan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 27, 2018

Hi @[deleted],

you can disable "Drag and Drop Actions" only

disable2.png

Deleted user June 27, 2018

Hi @Ollie Guan,

awesome that worked.

I disabled

View Content Client

(drag-and-drop-for-view-content)

John November 5, 2019

Hi,

I want also to disable Drag and drop only in view mode. But it seems that disable "View Content Client" does not work on my place. I can still add a file to any page.  Disable "Drag and Drop Actions" or the whole plugin is not really an option for me, because  we need Drag and Drop features in edit mode.

Has anyone a idea why  disable "View Content Client" doesn't work?

br

John

Gustav Rek November 30, 2021

I could not deactivate this module using the UI, I had to use the API.

This was the request that did the trick for me:

CONFLUENCE_BASE_URL=https://confluence.example.com
ADMIN_USRNAME=confluence-admin@example.com
ADMIN_PWD=password

curl --user $ADMIN_USRNAME:$ADMIN_PWD --location --request PUT \
${CONFLUENCE_BASE_URL}'/rest/plugins/1.0/com.atlassian.confluence.plugins.drag-and-drop-key/modules/drag-and-drop-for-view-content-key' \
--header 'Content-Type: application/vnd.atl.plugins.plugin.module+json' \
--data-raw '{
"enabled": false
}'

I took the request from here: https://confluence.atlassian.com/confkb/cannot-enable-or-disable-bundled-system-apps-or-modules-1035241968.html

Like # people like this
CJ Edwards January 5, 2022
curl --user "username:pwrd" --location --request PUT 'https://confluence.workplace.com/rest/plugins/1.0/com.atlassian.confluence.plugins.drag-and-drop-key/modules/drag-and-drop-for-view-content-key' --header 'Content-Type: application/vnd.atl.plugins.plugin.module+json' --data-raw '{ "enabled": false }'

The above answer was malformed (bad braces, quotes)
Maybe my example will help others :)

Like CJ Edwards likes this
0 votes
Giuseppe Marchioro August 23, 2022

Where could I access the page where to manage the plugins? I cannot find it accessing settings from Confluence sidebar.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events