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

0 votes

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)

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 Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,566 views 26 14
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