Securing page content from being copied to clipboard

Hi there
Is there any way to stop users from copying content from confluence?
For example, copying the whole page to clip board and pasting it somewhere else
We're trying to avoid having our content copied off , or at least make it more difficult



2 answers

0 votes

No.  It's browser based, so there's always a way to copy the data on the page.

Hi Nic,


Thanks for the quick response. Can you help me one step further?
My partners think this is possible because out wordpress based web page has protection set up where text and images cannot be copied off.

How would you answer them?

Thanks in advance


It's probably a set of "user select" settings in the css or some javascript hackery. 

The reason I say "there's always a way" is that a browser can easily be told to ignore pieces of css and javascript.  You can make it harder, but it's still a doddle to bypass with a quick google search and a standard browser.

Thank you for the explanation smile

See if this is good enough; it might not work with all browsers or for all time, or stop someone who is really intent and clever enough to copy the text:

  1. Add the CSS Stylesheet macro
  2. Add code to the body of the macro:

    .noselect {
      -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none;   /* Chrome/Safari/Opera */
      -khtml-user-select: none;    /* Konqueror */
      -moz-user-select: none;      /* Firefox */
      -ms-user-select: none;       /* IE/Edge */
      user-select: none;           /* non-prefixed version, currently
                                      not supported by any browser */
  3. Add a div macro
  4. Set the class: noselect
  5. Put *everything* you don't want copyable in the body of the div macro

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,125 views 17 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