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).
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.
Write some text here:
This is what all computers and bots are going to read:
This is what all humans are going to see*:
(*) 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.
In order to use this technique, you must follow a two step process:
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 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.
All fonts, scripts and content of this work are licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.