Let's talk about the anti-Leech (Filter filter) and Filter filters of websites.

Source: Internet
Author: User

Let's talk about the anti-Leech (Filter filter) and Filter filters of websites.

Lead:You have referenced a correct image address, however, what is displayed is a Red Cross or "fake images" such as "this picture is only available for *** website users to communicate and use" (this is the anti-leech Effect of Netease blog ). The download software still cannot be used to download the real address of multimedia resources. There are always errors when downloading some resources. If the address is correct, the anti-leech system is used in most cases. Common Anti-leech systems are generally used for images, audio and video, software, and other related resources.

 

 

I. What is anti-leech system:
When the address is correct and the corresponding resources cannot be downloaded, all of them are affected by the anti-leech system. What is the anti-leech system? Anti-leech protection is designed to prevent leeching. LeechingIt refers to displaying content on your own page that is not on your own server. The common practice is to obtain the resource address on the human server through technical means, bypass other people's resource display page, and directly provide this content to the end user on its own page. It is common for some small sites to steal resources (pictures, music, videos, software, etc.) of large sites. For these small sites, leeching can reduce the burden on their servers, because the actual space and traffic come from other people's servers. The anti-leech system is a system designed to prevent leeching. It prevents others from bypassing the resource display page of the site through some technical means, and steals the resources of the site to invalidate the resource link on the resource display page that bypasses the site. After the anti-leech system is implemented, more and more sites are beginning to implement anti-leech technology because of blocking indirect resource requests from leeching, which can greatly reduce the pressure on servers and bandwidth. Ii. Peat anti-leech protection:Now you should know why you still cannot download a real address, which is the role of anti-leech. There is a cause and effect in everything. Why is anti-leech protection? What is its implementation principle? How is anti-leech implemented? When talking about the implementation principle of anti-Leech, we have to start with the HTTP protocol. In the HTTP protocol, there is a header field called referer, which uses the URL format to indicate where to link to the current webpage or file. In other words, through referer, the website can detect the source webpage accessed by the target webpage. If it is a resource file, it can track its webpage address. With the referer tracking source, you can use technical means to handle the problem. Once the source is detected, it will block or return to the specified page. If you want to protect your website against anti-leech protection, you need to treat the situation differently. If the website server uses apache, using the Url Rewrite function provided by apache can easily prevent various leeching. The principle is to check the refer, if the refer information comes from another website, it is redirected to the specified image or webpage. If the server uses IIS, you need to use a third-party plug-in to implement the anti-leech function. Now, a commonly used product called ISAPI_Rewrite can implement anti-leech functions similar to apache. In addition, for the Forum, you can also use the "login verification" Method for anti-leech protection. Iii. Anti-leech cracking:  Although the anti-leech technology is becoming more and more mature, it is relatively difficult to crack the anti-leech technology. However, after understanding the principles, most of them can start to crack the anti-leech protection principles. For image anti-leech protection, someone has provided detailed code for cracking. The corresponding code page has been uploaded to the author's previous personal blog space. When forwarding images, add "http://www.z7z8.com.cn/old/pic.asp? Url = "address to solve the problem of image anti-leech. If you have your own website space, can you directly access the website? Url =. For file resource anti-leech protection, you can manually add a reference page to solve the problem of downloading failure, such as obtaining a token :". Because the vast majority of anti-leech rules only determine whether the reference page is on this site, this method can be used to download without anti-Leech, but not in all cases. By default, no "reference page" is displayed in the new task dialog box of thunder. You need to execute "Tools> Configuration" in thunder. In the "configuration panel" dialog box that opens, in the "Default task properties" tab, select the "new panel display reference page" check box. TIPS:The above is only a preliminary anti-Leech attack. With the rapid development of technology, anti-leech technology is also developing rapidly. Therefore, the anti-leech technology is more advanced and complex. Therefore, the above method does not necessarily apply to all anti-leech events. This article is from blog 51 of "cross-country wolf blog ".

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.