Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

How to disable attachments download in specific space? Edited

Hello Community,

I find how to disable the download function globally in this post, but I have further needs:

1.How to disable attachments download in specific space

2.It would be better if the download function of some users or user groups can be disabled in this specific space. We need other users to still be able to download, such as space administrators. 

 

Version: Confluence DC 6.15.9

Looking forward to your help ^_^

1 answer

1 accepted

1 vote
Answer accepted

I tried the download button in "Preview", it can be disabled directly through Space Page Layout, but if the attachment list is still there after the user enters through More-->Attachments, the user can directly save it locally. How do I disable it here?

Finally we hide this button by the following way

<Space Tools--Look and feel--Layout--Content Layouts---Main Layout>

#if ($userAccessor.hasMembership('confluence-administrators', $helper.action.remoteUser.name))
#else
    <script type="text/javascript">
    AJS.toInit(function(){
AJS.$('#view-attachments-link').hide();
    });
</script>
#end

More modifications to this scene, I recorded in this article, I hope it will be helpful to you

https://community.atlassian.com/t5/Confluence-articles/How-to-disable-attachment-downloading-exporting-printing-and/ba-p/1661171

Suggest an answer

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

⚡️NEW Group for Confluence Cloud Admins

Calling all Confluence Cloud Admins!  We created a new Community Group to support your unique needs as Confluence admins. This is a group where you can ask questions, access resou...

98 views 2 8
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