hn.today

TuringFonts: Publish Uncrawable and Uncopiable Texts

jfmdev.github.io11 points15 comments
Screenshot of TuringFonts: Publish Uncrawable and Uncopiable Texts

TuringFonts is a method for displaying text in websites or PDFs so that people can read it while automated crawlers and clipboard copying encounter an encoded version. It combines a substitution cipher with a custom font: the text is first transformed, then the font displays each encoded character as the corresponding original character. For instance, a computer extracting the page’s text sees the substituted letters, while a person viewing the rendered text sees the intended message. The technique is presented for concealing details such as email addresses, phone numbers, and names from search indexing, or discouraging copying that could enable plagiarism or unauthorized edits.

Using the method involves choosing an encoding and a matching Turing font, then applying the font to the encoded text. For PDFs, users download and install a TTF font, format the text in a word processor, check that it displays correctly, and embed the font when exporting. For websites, they download web-font files, declare the font in CSS, and style the encoded text. Ready-made options pair several typefaces, including Arial and Georgia, with substitution schemes such as ROT13, Atbash, and Zebra; an encoder is also provided, with advanced guidance for custom alphabets and fonts. The approach depends on the custom font being applied and available to readers, and its stated goal is to obstruct routine extraction and copying rather than to encrypt content.

Read on jfmdev.github.io15 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Web

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.