Quantcast
Channel: How to deny direct access to font files used in CSS? - Webmasters Stack Exchange
Browsing index pages (3 articles)
↧

How to deny direct access to font files used in CSS?

I have a website that displays texts with unique, copyrighted fonts. I use a CSS file with "font-face" elements (see the example below) and I store the font files in a folder called "type". I would...

View Article


Answer by Barry Pollard for How to deny direct access to font files used in CSS?

Well this is already done as best it can by default.When you try to access fonts from another domain your browser will block this s a cross origin request (unless you explicitly add a...

View Article


Answer by Simon Hayter for How to deny direct access to font files used in CSS?

The simple answer is... you can't... Browsers download font files by default by visiting your site as they need those files to be able to render your custom fonts. The font types eot, woff, opentype...

View Article
Browsing index pages (3 articles)


Latest Images