Not allowing viewers of certain text blocks to select and copy the text to be pasted into another document

Permalink
I'm wondering if there is a way not to allow viewers to copy text from my web site.
The reason being is minutes of meetings are copied and pasted into a text block from MS Word for viewers to read. I don't want them to be able to copy the text on the web page and paste into a word processor and change any of the content.
Thanks for any help on my problem
Marc

 
JohntheFish replied on at Permalink Best Answer Reply
JohntheFish
There are a number of tricks you can do with javascript to intercept and block the context menu and copy. However, such tricks will only block casual copiers and can easily be circumvented.

You could publish the document as a protected pdf file and show that inline. Again, the protection can be circumvented and text copied.

You could use a css scrambling trick, so that the text is scrambled in sequence, but then reversed or otherwise rearranged by css styles.

You could render the document as an image and then show the image on the page. But even that can be turned back into text using OCR. Just point a phone with google goggles at the screen..

So overall, there are many things you could do to protect from casual copying and require various levels of expertise to circumvent. But overall, if you need to be 100% sure it wont be copied, don't put it on a web page.
mmaheux replied on at Permalink Reply
Thanks for the feed back
Marc