Restrict access to attachments for a viewer of a page?

If a user has viewing permissions on a page, can they be restricted from viewing attachments on that page? I know that they can be prevented from Adding or Deleting attachments, but can they have view permissions for select attachments, or another way, do Attachments have restrictions?

2 answers

Hi Jakub,

Partialy. Directly you cannot say that this and this attachement will not be visible to the user that is having access to the page. Rule is simple: If you have access to the page you will have access to the attachments.

So in that case since you are able to view attachements of a specific page and confluence allows to use attachments from different pages then simply create a page which will not be visible to the user (restricted), attach files you want to restrict and on a public page use attachments macro (or any other preview) this will restrict access only to specific people, groups that are set up in the restrictions.

Overall I recommend to have one single place for attachemts instead of adding them to the pages. If you are using new Confluence then there is a Blueprint for that called - File List.

I hope that will help.

Best Regards,


Hi Mirek. In Jira, restriction can be set on comments. Why can't we use same restrictions with attachments?

Works fine here.

NO, you can't control attachment access rights by the pages they are displayed on (e.g. by labeling), it is only controlled by the pages they are uploaded in.

Yes, that's what I said, it works fine for me, as Mirek describes.

I think you need to explain what you mean by "does not work"

So Mirek's answer has offered no explanation on the original question how to restrict access to ATTACHMENTS on a page. Do YOU have an answer, Nic?

Only what Mirek stated - "Rule is simple: If you have access to the page you will have access to the attachments".  That's working fine for me.

0 vote

I'm wondering if it can be done with using different screens for different users.

You could have a screen for one user type in both the create/view mode that has attachments and other set of screens for stakeholders (or whomever) for create/view modes that don't SEE attachments.



Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Published yesterday in Confluence

Think you know shares vs. @mentions in Confluence? Take this collab quiz.

To anyone who doubts that Atlassians are a little too obsessed with collaboration, and tools related thereto, let me describe a recent discussion we had (which took place on our internal Confluence, ...

108 views 2 4
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