如何保护 WebFonts [英] How to protect WebFonts

查看:15
本文介绍了如何保护 WebFonts的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个客户想要在他自己的服务器上托管他的 webfonts.我有一个 font.com 帐户,直到现在为止托管字体.我承认 fonts.com 协议(第 18 点.)他们说,你可以在您自己的服务器上托管文件,但您必须尽可能地保护它们.

I have a client that wants to host his webfonts on his own server. I have a font.com account where the font was hosted until now. I went truth the fonts.com agreement (Point 18.) Where they say, that you can host files on your own server, but you have to protect them as good as possible.

我能想到的唯一方法是通过 .htaccess 中的 HTTP_REFERER 限制对这些文件的请求.

The only way I can think of doing so, is by restricting the requests on those files with HTTP_REFERER in the .htaccess.

我可以采取更多措施来保护这些字体吗?多做点有意义吗,你认为这是足够的保护吗?

Can I do more to protect those fonts? Does it make any sense to make more and do you think that it is a sufficient protection?

我个人不相信技术复制保护,您总是可以以某种方式复制您可以看到的内容.但我不希望我的客户陷入法律纠纷.你有这方面的经验吗?

I don't personally believe in technical copy protection, you can always copy what you can see somehow. But I don't want my client to get in to legal trouble. Do you have any experience with this?

编辑

我对法律方面也很感兴趣.如果有人可以下载字体并重新使用它,会发生什么?他们的意思是我只需要保护字体免受热链接或下载吗?

I'm interested in the legal aspect as well. What can happen, if someone can download the font and reuse it? Do they mean i have to protect the font only from hot-linking or from downloading as well?

推荐答案

你会在 typekit 的文章中发现一些有趣的方法:"在 Web 上提供和保护字体"

You will find some interesting methods in the article by typekit : "Serving and Protecting Fonts on the Web"

他们使用 HTTP Referrer 检查、base64 编码、分段等方法.然而,这些都没有提供完整的保护,并且有人同意文章中的这一声明:

They use methods like HTTP Referrer checking, base64 encoding, segmenting. However none of these provide complete protection and one has concur with this statement from the article:

事实是,要在浏览器中显示某些内容,它必须位于网络上.如果它在网络上,则无法完全保护....我们自己设置了一些障碍.我们的目的只是为了阻止随意的误用,并明确表明从 Typekit 中获取字体是一种明确且有意的行为.

The fact is, for something to appear in a browser, it has to be on the web. If it’s on the web, it can’t be completely protected....We’ve put up a few hurdles of our own. Our intent is only to discourage casual misuse and to make it clear that taking fonts from Typekit is an explicit and intentional act.

要承担的第二件事是被许可人总是可以无视协议,这就是为什么像 Adob​​e 这样生产最优秀字体的公司在 字体许可页面.

The second thing to bear is that the licensee can always disregard the agreement, and that is why companies like Adobe which produces one the most excellent fonts states the usage terms including for the web in Font licensing page.

另请参阅 W3 CSS3 中讨论的 字体许可问题网络字体规范.

See also the Font Licensing Issues discussed in the W3 CSS3 webfonts spec.

这篇关于如何保护 WebFonts的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆