Centralized Downloads with per attachment permissions


I offer my releases via attachments to confluence pages. Each page has different restrictions making it easy for me to handle who can access what. However, the cost is that I must attach items to many pages instead of just one. I'd like to attach all the items to a single page and then use a macro to provide access to attachments. However, this means there is no proper group of restrictions on the main page with all the attachments. If user's could access this page they could download unauthorized items.

I can use macros to restrict access or hide page content but I don't think these apply to attachments.

Does anyone know a way to restrict access per attachment?



1 answer

1 accepted

0 votes
Answer accepted


As far as I know Confluence doesn't have a library functionality so the only way to present/share addition info is to attach a file to a page.

So you cannot restric attachment, you can only restrict the page.

You can try to upload the attachjment to a kind of hidden page and create download links on another page and create restriction on this page.

Unfortunately Confluence is the the platform if you need prper ibrary functionality. There are only workarounds.



Thanks. I think the solution is to store attachments on individual pages with restrictions and then use excerpt include to access on combination pages using the show-to macro to hide. I used the confluence-cli to automate the complex upload process reducing the cost of this approach.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,202 views 2 13
Read article

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