[TYPO3-english] protect (and still use) font folder

Katja Lampela katja.lampela at lieska.net
Wed Apr 4 09:07:17 CEST 2012


Hi,
okay, thank you Björn for this information.

4.4.2012 9:32, Björn Pedersen kirjoitti:
> 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
>

-- 
With kind regards

Katja Lampela
*Lieska-tuotanto*
www.lieska.net



More information about the TYPO3-english mailing list