Document Security - read-only, no download

We have a site on our system that needs to be able to let the owner post documents for others to read, but not be able to download them from the site. I am wondering how to set this sort of security on documents for this one site.


2 answers

1 accepted

2 votes
Accepted answer

Hi Greg,

To prevent attachment downloads you will need to edit the velocity files in your <Confluence_Install_Directory> as described in this document:

You should only do this if you know what you're doing, you have thoroughly tested it and you have understood that you will need to rollback the customisation for upgrades, (and reapply it again afterwards), but I believe this is your best solution.

However, this solution disables downloading of attachments for everyone, admins included, so you would need to work out a way of accessing the files from the file system as they will be unavailable from the application. One solution for that would be to only apply the customisation to one Space and then move the pages to a new Space that the users cannot access, as this would allow you to still download the attachments from the application, (presumably a preferrable solution).

All the best,

3 votes

That's actually totally impossible.

When your browser displays the content of a file, then it's downloaded it. There's no such thing as "read without downloading". There are tricks to obscure things and make it more difficult (e.g. displaying files as images, or providing them in locked formats), but there's no useful way to stop someone who is determined from getting a copy of what you've posted.

Thanks, I know that ther is no 100% way to stop it, but I do want to make it difficult for people to do for this page.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,016 views 51 8
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