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

thanks

MD 

2 answers

0 vote

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

MD 

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
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
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,942 views 27 12
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