# Protect online content

**URL:** <https://boards.straightdope.com/t/protect-online-content/190198>\
**Category:** Factual Questions\
**Created:** [July 22, 2003, 6:27pm UTC](https://boards.straightdope.com/t/protect-online-content/190198 "2003-07-22T18:27:46Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![daniel801](https://avatars.discourse-cdn.com/v4/letter/d/b2d939/32.png) [@daniel801](https://boards.straightdope.com/u/daniel801)\
**Post date:** [July 22, 2003, 6:27pm UTC](https://boards.straightdope.com/t/protect-online-content/190198/1 "2003-07-22T18:27:46Z")

</div>

For a website where public information is summarized and posted by the site’s owner, what are some good ways to protect the content?

Examples so far:  
post a gif of the document instead of the document (how does this stop OCR–watermark?)  
disable right click

---

<div class="post-metadata">

**Author:** ![micco](https://avatars.discourse-cdn.com/v4/letter/m/5f8ce5/32.png) [@micco](https://boards.straightdope.com/u/micco)\
**Post date:** [July 22, 2003, 6:44pm UTC](https://boards.straightdope.com/t/protect-online-content/190198/2 "2003-07-22T18:44:11Z")

</div>

If you want to protect the content, why are you putting it online in the first place? If you want people to be able to read it, you can take steps to make it more difficult for them to copy it but you’re not going to prevent it. If you post images instead of text, OCR or transcription are options. If you disable right-clicks to stop people from saving the image, they can retrieve it from their browser cache or take a screen shot. If you watermark the image or use a high-contrast background to prevent OCR, many people won’t be able to read it either. Any measure you take may protect the content from some people by raising the level of effort required, but you can’t protect it completely.

If you don’t want the content copied, you need to seriously rethink why you’d make it available in the first place.

---

<div class="post-metadata">

**Author:** ![Q.E.D](https://avatars.discourse-cdn.com/v4/letter/q/51bf81/32.png) [@Q.E.D](https://boards.straightdope.com/u/Q.E.D)\
**Post date:** [July 22, 2003, 6:46pm UTC](https://boards.straightdope.com/t/protect-online-content/190198/3 "2003-07-22T18:46:43Z")

</div>

ANYTHING can be copied from online. If nothing else, a person can take screenshots of it. As stated, if you don’t want it copied, do not put it online. You can, however, limit access to documets to, say, paying customers through the use of htaccess and other security measures.

---

<div class="post-metadata">

**Author:** ![Doomtrain](https://avatars.discourse-cdn.com/v4/letter/d/0ea827/32.png) [@Doomtrain](https://boards.straightdope.com/u/Doomtrain)\
**Post date:** [July 22, 2003, 7:18pm UTC](https://boards.straightdope.com/t/protect-online-content/190198/4 "2003-07-22T19:18:25Z")

</div>

And disabling right click is just obnoxious and can be easily gotten around anyway, either by screenshot, or saving the whole page to HD, then changing the code.

---

<div class="post-metadata">

**Author:** ![pestie](https://avatars.discourse-cdn.com/v4/letter/p/e5b9ba/32.png) [@pestie](https://boards.straightdope.com/u/pestie)\
**Post date:** [July 22, 2003, 8:14pm UTC](https://boards.straightdope.com/t/protect-online-content/190198/5 "2003-07-22T20:14:31Z")

</div>

Not to mention that most right-click-disabling scripts have to pop up a stupid box telling you the content is “protected,” which leaves them open to this trick:

1. Hold down the right mouse button.
2. When the stupid box pops up, hit the space bar to dismiss it.
3. Release the right mouse button.

Lo and behold, there’s your usual right-click menu!

Honestly, these people who think their precious content can somehow be protected while still remaining available on the web must be smoking crack or something. The most they can do is make it slightly inconvenient for someone to copy their content.

---

<div class="post-metadata">

**Author:** ![netscape\_6](https://avatars.discourse-cdn.com/v4/letter/n/8c91f0/32.png) [@netscape\_6](https://boards.straightdope.com/u/netscape_6)\
**Post date:** [July 22, 2003, 10:17pm UTC](https://boards.straightdope.com/t/protect-online-content/190198/6 "2003-07-22T22:17:10Z")

</div>

the right click blocker in mozilla does not work. the alert pops up but so does the contextual menu.

---

<div class="post-metadata">

**Author:** ![Alereon](https://avatars.discourse-cdn.com/v4/letter/a/ecd19e/32.png) [@Alereon](https://boards.straightdope.com/u/Alereon)\
**Post date:** [July 23, 2003, 3:10am UTC](https://boards.straightdope.com/t/protect-online-content/190198/7 "2003-07-23T03:10:45Z")

</div>

The closest thing you can do to protecting documents is to use the Adobe PDF format. That said, you really just need to post it clean. Trying to frustrate illegitimate users just makes it too much bother for legitimate users.

---

<div class="post-metadata">

**Author:** ![Shalmanese](https://avatars.discourse-cdn.com/v4/letter/s/45deac/32.png) [@Shalmanese](https://boards.straightdope.com/u/Shalmanese)\
**Post date:** [July 23, 2003, 1:08pm UTC](https://boards.straightdope.com/t/protect-online-content/190198/8 "2003-07-23T13:08:47Z")

</div>

Protected PDF’s would probably be about the most secure you could get. At the very extreme end of the spectrum, a person could just manually re-type out what you wrote so theres no way to prevent it.

---

<div class="post-metadata">

**Author:** ![dwc1970](https://avatars.discourse-cdn.com/v4/letter/d/a183cd/32.png) [@dwc1970](https://boards.straightdope.com/u/dwc1970)\
**Post date:** [July 23, 2003, 6:05pm UTC](https://boards.straightdope.com/t/protect-online-content/190198/9 "2003-07-23T18:05:05Z")

</div>

If you really want to make the content difficult to copy, not only could you post the text as a bitmap or in a PDF file, but also use a font that would be difficult for most OCR applications to pick up.

---

<div class="post-metadata">

**Author:** ![micco](https://avatars.discourse-cdn.com/v4/letter/m/5f8ce5/32.png) [@micco](https://boards.straightdope.com/u/micco)\
**Post date:** [July 23, 2003, 6:39pm UTC](https://boards.straightdope.com/t/protect-online-content/190198/10 "2003-07-23T18:39:56Z")

</div>

> [@](#):
>
> \*Originally posted by dwc1970 \*  
> \*\*If you really want to make the content difficult to copy, not only could you post the text as a bitmap or in a PDF file, but also use a font that would be difficult for most OCR applications to pick up. \*\*

I’ve done quite a bit of work with OCR, not developing it but using commercially available OCR engines in other applications. I also know several vision scientists who study readability of text and how font, color and background texture influences readability. Based on this experience (and as noted above), it’s pretty clear to me that once you obfuscate the text enough to prevent OCR you’ve also made it unreadable to a large number of humans. There’s a whole lot of content on the web which is pretty unreadable if you’re not a 20-something with good vision. A lot of people routinely cut-and-paste text into something like notepad just to be able to read it because the web designer thought it looked cool to put dark red text on a black background or yellow text on a textured beige background. Many of these situations are readily handled by OCR even when many people can’t make them out.

I’m not saying you’re wrong. You can certainly choose fonts, foreground/background colors, and background textures to confuse OCR. I’m just pointing out that if you do that, a lot of humans won’t be able to read it either. It all depends on who your target audience is.
