You want to prevent hotlinking of your fonts while still allowing your CSS/JS on your own domain to access them. Using .htaccess, you can do this with an RewriteRule and RewriteCond. The <Directory> method won’t work in .htaccess because that’s only valid in the server config or httpd.conf.
https://psychedelicmedicineassociation.org/compounds/ibogaine/