Introduction

TuringFonts is a simple technique for generate content (for websites or PDF files) that can't we crawled by bots or copied using the clipboard.

It's useful in situations in which you want to publish some sensitive content that you don't want to be indexed by search engines like Google or Bing (such as e-mail addresses, telephone numbers or personal names) or when you don't want to allow the user to copy and paste your text (to avoid plagiarism or unauthorized modifications).

How it works?

This technique is based on the simple substitution cipher method and in the use of custom fonts.

The simple substitutions cipher in a method of encoding in which each letter is replaced by another one. For example, you could decide to replace each letter by his neighbour in the alphabet (write 'b' instead of 'a', 'c' instead of 'b', etc.), in that case the text "Hello" would be write as "Ifmmp".
A font (in computing) is basically a file that indicates how to draw each letter. So, for example, some fonts define that the letter 'O' must be draw rounded while others indicate that must be oval.

So basically you encrypt your text using some substitution cipher and then you apply (to that text) a Turing font that inverses the substitution previously made.

A Turing font is a font whose symbols has been unordered on purpose. So when a letter is found, another letter is draw in his place. For example, a Turing font may indicate to draw an 'a' when encountering a 'b', draw a 'b' when encountering a 'c', etc.).

In that's way any bot or computer, that get access to your website or PDF file, is going to read the encrypted text while all humans visitors are going to read the original text.

Demostration

Write some text here:


This is what all computers and bots are going to read:

{{encrypText}}

This is what all humans are going to see*:

{{encrypText}}

(*) Try selecting and copying this text into a notepad to see what happens


Have some doubt? Check the live demo or download the sample PDF file.

How to use it

In order to use this technique, you must follow a two step process:

  1. Encode you text using some substitution method. You can use this encoder to do it.
  2. Apply, to the previous text, a Turing font. In the download section you can find a list of fonts ready to be used.

If you want to use your own substitution alphabets and/or generate your own Turing fonts, I recommend you to read the advanced topics.

In documents

Download font
Select a font, a substitution method and download the corresponding TTF file.
Install font
Install the downloaded font into your computer.
Encode text
Encode your text using the substitution method previously chosen.
Apply font
Copy the encoded text into a word processor and apply the font installed.
Verify
Verify that the text can be read and export the document as PDF (indicating that the fonts used must be embedded).

In websites

Download font
Select a font, a substitution method and download the corresponding Zip file. Unzip the file in one of your website's folder.
Declare font
Declare the selected font in the CSS code of the page in which you are going to use it.
Encode text
Encode your text using the substitution method previously chosen.
Apply font
Copy the encoded text into the page and apply the font.
Verify
Verify that the text can be read.

Downloads

In this section you will find a list of Turing fonts ready to be used.

Each row of the table contains a font type, and each column indicates the substitution algorithm used for generate the font. For each combination, you can download either a TTF file or a ZIP file (containing the font in all the required formats to be used at the web).

ROT13 Atbash Zebra
Arial
Courier New
Georgia
Tahoma
Verdana

More fonts may be added if you gently ask for them.

License

All fonts, scripts and content of this work are licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Fork me on GitHub