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

This widget could not be displayed.

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

This widget could not be displayed.

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 Monday 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...

279 views 2 4
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