What is the definition of hotlinking "hotlinking" is that this content is not on its own server, but by technical means, bypassing the other end of the advertising interests of the final page, directly on their own ads have an interest in the page to provide this content to the end user. It is often a little-known small website to steal some powerful big website address (such as some music, pictures, software) and then placed in their own website, in this way to steal the space and traffic of large sites. Why does it produce hotlinking general browsing there is an important phenomenon is that a full page is not all delivered to the client at one time. If the request is a page with many pictures and other information, then the first HTTP request is sent back to the text of the page, and then through the client's browser to interpret the text, and found that there are pictures, then the client's browser will send an HTTP request, When this request is processed then the image file will be sent to the client, and then the browser will put the picture to the correct location of the page, so that a complete page may be sent through multiple HTTP requests to be fully displayed. Based on this mechanism, there will be a problem, that is, the problem is hotlinking: If a site does not have the information described in the page, the sample information, then it can completely connect this image to other sites. Such a site without any resources to use the resources of other sites to display to the visitors, improve their traffic, and most of the visitors will not be easy to find, so clearly, for the use of the resources of the site is not fair. Some bad websites to expand their own site content without increasing costs, often misappropriation of links to other sites. On the one hand damage the legitimate interests of the original website, on the other hand, aggravating the burden of the server. Hotlinking's solution is actually through the Web server URL filtering technology, this nerve-racking problem can be easily solved. If the Web server is using Apache, then using the Apache URL rewrite feature can easily prevent a variety of hotlinking, the principle is to check the refer, if the refer of information from other sites will prohibit access to the required resources. The concept of URL rewrite url rewrite, or URL rewrite, is the process of redirecting incoming Web requests to other URLs. The most common application of URL rewrite is URL pseudo-static, which is a technique for displaying dynamic pages as static pages. For example, http://www.123.com/news/index.asp?id=123 can be displayed as http://www.123.com/news/123.html after using urlrewrite conversion. URL rewrite do anti-theft chain method: Rewriteengine on#replace? mysite\.com/with your blog Urlrewritecond%{http_referer}!^http://(. +\.)? mysite\.com/[Nc]rewritecond%{http_referer}!^$ #Replace/images/nohotlink.jpg with your "don ' t hotlink" image Urlrewriterule. *\. (jpe?g|gif|bmp|png) $/images/nohotlink.jpg [L] So, does IIS support Urlrewrite? The answer is simple, not supported. But we can have IIS support by installing a third-party server extension. At present, there is a product that can better support IIS Urlrewrite, named Isapi_rewrite. In: http://www.helicontech.com/download/
About the anti-theft chain