English 中文(简体)
防止在实验室网页上的热链接
原标题:Prevent hotlinking on gitlab pages

We host a website via GitLab Pages (static website generation) and have recently encountered a problem.
In the licence for our fonts (or in the installation details) it is mentioned that we should take measures to prevent hotlinking (e.g. not being able to download the font directly).

Usually this is done via entries in a config or htaccess file that prevent direct access if the referrer is not the domain.
But I couldn t find any information on how to do this with gitlab pages, so I wonder if this is even possible and if so how can it be done?

我再说一遍,要问一下有关 st流的问题,就没有发现任何问题,那么,如果我错过一些事情的话,我会抱歉。

提前感谢。

问题回答

你们可以在实验室前设立一个机构,并从推荐人头目中发现东道方的名称。

和建设服务器





相关问题
How do I allow only logged in users to view images

I have a Ruby on Rails (2.2.2) application where users can upload images and mark them as locked . This will put them in another folder than if you don t mark it. The normal upload folder is /uploads/...

Serving a text link to a hotlinked image?

I am trying to create some sort of hotlink protection system. I want to use my hotlinked images as an advertising means. Initially i thought printing the URI of the specific image on it, but because ...

Hotlinking protecttion of only one directory

I want to block access to only one directory say http://www.example.com/pictures Every file in other directory should be available as normal. I have gone through a referrer checking solution. That ...

How to protect against direct access to images? [closed]

I would like to create a web site with many images. But I would like to protect against direct access to images, e.g. direct links to images without visiting the web site. What is the preferred way ...

swf to image on the website?

i want to convert a swf to image on my website. a user makes some changes on the stage and if he press a button "get image link", the swf stage will be converted to an image and its image link will ...

Apache Hotlink Protection for Download Folder

I m trying to avoid direct links from other sites to my site s downloadables. My exe,zip and msi files are under /files directory. How can I avoid direct links to them? Thanks in advance...

热门标签