disable copy feature

If we give users a read-only permission to a page then how can we prevent them from Copying the page? Can Copy option be surpressed?

2 answers

This widget could not be displayed.

No, you can't suppress it.  There's no point - even if you could get rid of copy, a user can still select, copy and paste the content into a new page.  The fact that they can read it makes it copy-able (horrible constructed word, I apologise, but I can't think of a better way to say it)

This widget could not be displayed.

You could make the text uncopyable; not foolproof, but it would keep the honest people honest.

  1. Add a div macro and set the class to noselect.

  2. Cut all the text on the page and paste it into the body of the div macro
  3. Add a CSS Stylesheet macro with the following in the body (you could instead add this to Look and feel --> CSS):

    .noselect {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

554 views 7 6
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