[TYPO3-english] protect (and still use) font folder
Björn Pedersen
pedersen at frm2.tum.de
Wed Apr 4 08:32:50 CEST 2012
On 04.04.2012 07:55, Katja Lampela wrote:
> Hi,
>
> In one of my client's site they use @font-face method and the font files
> need to be protected from download.
>
> Using the simplest method, .htaccess+.htpasswd doesn't work, since the
> fonts can't be used at all without logging in.
>
> How would you recommend I do this?
> I have this link/method, but it seems a bit complicated:
> http://subjectiveobject.com/2009/10/28/securing-font-face/
>
Hi,
well, to use the font it needs to be downloaded to the client. There is
no way around that. You may make it harder to save this font file to
disk, but you can not prevent it fully. The only way would be to render
everything as images, but that is no real solution as well.
So you can make it harder as done in your link by going trough some php
file loader, but thats all you can do.
Björn
More information about the TYPO3-english
mailing list