Supercharge Your Innovation With Domain-Expert AI Agents!

Website picture anti-hotlinking method based on CDN

An anti-leech, picture technology, applied in the Internet field, can solve the problems of illegally stealing picture resources, accidentally injuring normal users, increasing the difficulty of pictures, etc., and achieving the effect of saving server resources

Pending Publication Date: 2021-12-03
FOCUS TECH
View PDF2 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If you blindly restrict certain referer whitelists to access resources, you may accidentally injure this part of normal users, which is why some anti-leech detections allow the Referer header to pass the detection; in addition, some search crawlers, mobile apps And the mail agent will not carry the Referer, so the referer header hiding can completely bypass the anti-leeching restrictions of some sites, which creates a shortcut for illegally stealing image resources, and also increases the difficulty of image theft prevention

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Website picture anti-hotlinking method based on CDN
  • Website picture anti-hotlinking method based on CDN
  • Website picture anti-hotlinking method based on CDN

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The present invention will be further described below in conjunction with accompanying drawing and exemplary embodiment:

[0027] For access to static resources, there are two access methods through the browser, one is direct access, and the other is embedded access. Usually, the HTTP request for direct access does not carry the Referer information in the request header, and the HTTP request for embedded access carries the Referer information in the request header. Static resource hotlinking occurs in embedded access. Since most embedded access requests carry the request header Referer, a small number of image resource accesses that do not carry the request header Referer are basically recognized as legitimate use. Resource theft creates conditions that most webmasters can't do anything about. The problem to be solved by the embodiments of the present invention is to identify the hotlinking mode of accessing images in a resource embedding manner in which common browser...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a website picture anti-hotlinking method based on a CDN. The method is characterized in that an identification process of an HTTP (hyper text transport protocol) request is configured in the CDN, and comprises the following steps: accessing a picture resource through the HTTP request, and accessing the picture resource into the CDN; acquiring a request header of the HTTP request; identifying an HTTP (Hyper Text Transport Protocol) request which does not carry Referer information; identifying an embedded access of the static resource; identifying a request sent via a browser; identifying the client as an HTTP request of an unconventional crawler and a proxy server; and for the HTTP request left after identification, enabling the server side to give deny access. The existing source station server logic does not need to be changed, so that server resources are effectively saved; the problem that the picture resources are accessed in a new hotlinking mode without HTTP request header Referer is solved; and the effect of avoiding using an overlong User-Agent white list is achieved.

Description

technical field [0001] The present invention belongs to the field of Internet technology. It specifically relates to a CDN-based method for preventing hotlinking of website pictures. Background technique [0002] Static resources generally include js, css, pictures, videos, and downloaded resources. In order to ensure the speed of users' access to static resources, large-scale websites will choose to connect the static resources of the website to a content delivery network (Content Delivery Network, hereinafter referred to as CDN). However, static resources are easily embezzled by illegal websites by directly embedding links. The source website of the static resources has nothing to do with this, and needs to pay CDN traffic fees for the theft of illegal websites. [0003] The purpose of setting up anti-leech links is to prevent static resources such as videos and pictures from being stolen by other websites, or to prevent others from citing links such as pictures directly...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/958G06F16/955
CPCG06F16/958G06F16/9558
Inventor 柳栋淼
Owner FOCUS TECH
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More