skip to Main Content

In WordPress by default you can see which fonts are being used and download the .woff2 files.

I’d like to prevent this from happening without causing any issues to the website’s appearance as fonts are purchased.

I’ve already searched for the subject before, tried multiple suggestions found in here for the .htaccess. None worked. ChatGPT didn’t provide a working solution either.

Have already read multiple posts such as How to prevent user downloading font in Apache but i have high hopes that something has changed as those posts are old.

Using LiteSpeed Enterprise Web Server with cPanel on CloudLinux OS.

Would you please be so kind to help me find a working solution?

Thank you!

2

Answers


  1. It is difficult or impossible to do it. But, the most common protected method used is Obfuscation. However, you can learn more about the Defense in Depth strategy. here

    Login or Signup to reply.
  2. No. Unfortunately, as your fonts are being displayed on your website and used/loaded by the browser, there is no way whatsoever to stop users from downloading fonts, should they wish to do so.

    It’s kind of like displaying text on a website and then wanting to block people copy/pasting it… Theres nothing you can do and it will happen…

    The closest method you have to preventing people downloading your fonts is to disable right click in your browser so that it’s difficult (not impossible) for users to view your websites source code.

    But, if someone wants to get your fonts, they will and there’s nothing you can do about it, unfortunately.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search