Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Securing page content from being copied to clipboard

D3UC April 12, 2016

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 votes
Milo Test
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 15, 2016

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
0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 12, 2016

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

D3UC April 12, 2016

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 

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 12, 2016

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.

D3UC April 12, 2016

Thank you for the explanation smile

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events