Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Prevent upload of attachments via drag&drop during viewing

Deleted user Jun 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

 

1 answer

1 accepted

1 vote
Answer accepted

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 Jun 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 Jun 27, 2018

Hi @[deleted],

you can disable "Drag and Drop Actions" only

disable2.png

Deleted user Jun 27, 2018

Hi @Ollie Guan,

awesome that worked.

I disabled

View Content Client

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

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

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
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 :)

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

42,846 views 29 134
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you