I need to disable view option for attachments in pageView in confluence page

please find below screen shot for reference .

viewpage.png

2 answers

0 vote

Don't attach the files in the first place.

Removing that view link is simply a downgrade that won't stop your users opening the files.  If you want to stop them grabbing the files, then the only safe way to stop them is to not put the files there to be used.

0 vote
Thomas Schlegel Community Champion Nov 21, 2017

Hi,

this is not possible as far as I know. Anyone who is able to see the page is able to view the attachments.

There was a feature request, but it was closed as "won't fix":

https://jira.atlassian.com/browse/CONFSERVER-19182

is it possible to restrict through .vm files ?

Thomas Schlegel Community Champion Nov 21, 2017

As Nic wrote, if you disable the button, people could easily click on the document's name and open it.  And if you remove the link, it will be easy to grab the file by URL, if you know a little bit of the method, the URL is created. If you know the filename, people can even search for the filename with the confluence search function  and download it from there. 

So, if you have documents that should not be downloaded, don't put them into Confluence.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

461 views 19 9
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you