直接链接

✍ dations ◷ 2025-11-27 10:50:04 #文件分享,超文字,网络术语,互联网伦理

直接链接(英语:Inline linking),也称热链接(hotlinking)、leeching、piggy-backing、直接链接(direct linking)、异站图像抓取(offsite image grabs)等,它是指在一个网站的网页上,未经允许地使用使用链接对象直接调用另一个网站上的资源(通常是图像)。在如今的互联网上,未经授权的直接链接常被简称为盗链。

在万维网幕后的超文本传输协议(HTTP)技术中,并未对链路类型做任何区分,所有链接的功能均为平等,资源可以位于任何服务器的任何位置。

当访问一个网站时,浏览器首先下载HTML格式的文档内容。下载的HTML文档可能调用其他HTML文件、图像、脚本及样式表等文件。这些文件可以包含<img>标签以在页面上显示所提供URL位置的图像。其中的HTML代码可能不指定服务器,从而使网页浏览器使用与父代码(<img src="picture.jpg" />)相同的服务器。但它也可以指定在某个服务器上托管的图像的绝对URL,例如(<img src="http://www.example.com/picture.jpg" />

在浏览器下载到包含图像的HTML图像后,浏览器将联系远程服务器以请求图像内容。

在一个网站中可以显示另一个网站的内容是万维网超文本媒体原始设计中的一部分。常见的用法包括:

当网站违背用户期望时,网站之间模糊的边际会导致其他问题。有些时候,直接链接也可用于恶意目的。

大多数网页浏览器都将直接根据网页指示来获取图像。 嵌入式图像可能以此作为一个网络信标来跟踪用户或将信息传递给第三方。有许多广告过滤(英语:Ad filtering)工具可不同程度地限制此类行为。

部分服务器采用HTTP引用地址等技术检测直接链接,并可根据相同格式返回错误、告知、引导或谴责信息,代替原始的目标图像。大多数服务器都可配置为避免为第三方直接链接提供托管的媒体内容。

URL重写(例如Apache HTTP Server的mod_rewrite)经常被用于拒绝或重定向直接链接的图像或媒体内容到其他资源。大多数媒体资源都可通过此种方式重定向,包括视频文件、音频文件、动画资源(例如Flash)等。

Other solutions usually combine URL重写 with some custom complex server side scripting to allow hotlinking for a short time, or in more complex setups to allow the hotlinking but return an alternative image with reduced quality and size and thus reduce the bandwidth load when requested from a remote server. All hotlink prevention measures risk deteriorating the user experience on third party website.

The most significant legal fact about inline linking, relative to copyright law considerations, is that the inline linker does not place a copy of the image file on its own Internet server. Rather, the inline linker places a pointer on its Internet server that points to the server on which the proprietor of the image has placed the image file. This pointer causes a user's browser to jump to the proprietor's server and fetch the image file to the user's computer. US courts have considered this a decisive fact in copyright analysis. Thus, in , the 美国联邦第九巡回上诉法院 explained why inline linking did not violate US copyright law:

Google does not...display a copy of full-size infringing photographic images for purposes of the Copyright Act when Google frames in-line linked images that appear on a user’s computer screen. Because Google’s computers do not store the photographic images, Google does not have a copy of the images for purposes of the Copyright Act. In other words, Google does not have any “material objects...in which a work is fixed...and from which the work can be perceived, reproduced, or otherwise communicated” and thus cannot communicate a copy. Instead of communicating a copy of the image, Google provides HTML instructions that direct a user’s browser to a website publisher’s computer that stores the full-size photographic image. Providing these HTML instructions is not equivalent to showing a copy. First, the HTML instructions are lines of text, not a photographic image. Second, HTML instructions do not themselves cause infringing images to appear on the user’s computer screen. The HTML merely gives the address of the image to the user’s browser. The browser then interacts with the computer that stores the infringing image. It is this interaction that causes an infringing image to appear on the user’s computer screen. Google may facilitate the user’s access to infringing images. However, such assistance raised only contributory liability issues and does not constitute direct infringement of the copyright owner’s display rights. ...While in-line linking and framing may cause some computer users to believe they are viewing a single Google webpage, the Copyright Act...does not protect a copyright holder against acts....

相关

  • 蜂窝组织炎蜂窝组织炎(拉丁语:cellulitis)是牵涉到皮肤的细菌感染。该疾病尤其会影响到真皮与皮下组织。其症状为皮肤发红,会在数天内逐渐扩大范围。发红范围的边缘一般而言不明显,而且可能
  • 小指小指,又称小拇指、尾指,是五指里的最后一只手指,长度与拇指相若,但粗细则是五指中最细的一只,有三个关节。在很多国家,“勾小指”有二人互相承诺、约定的意思。
  • 法定的按照法律的(法语:de jure,拉丁语:de iure),是拉丁语中的法律用语,意思是:“按照法律的”、“法理上”、“原则上”或“名义上”,与de facto(事实上)相对。此用语用来表达法律上规定的情
  • 黑僵菌属黑僵菌属(学名:Metarhizium),又称绿僵菌属,是麦角菌科的一个属,其下物种为可感染昆虫的虫生真菌(英语:entomopathogenic fungi)。本属物种过去多以外形区分,现代则以分子序列鉴定。许
  • 潘宫筹墓潘宫筹墓为士林及芝山岩附近的漳州漳浦潘氏开台始祖潘满兴之孙潘宫筹的坟墓,位于台北士林石角的石角山上,依山而建,位置呈现风水中的“烘炉穴”,上书许多文人雅士的诗文,由其后代
  • 乌甸尼乌迪内(意大利语:Udine)是位于意大利东北部弗留利-威尼斯朱利亚大区的一个城市。乌迪内省的首府所在地。距斯洛文尼亚边境不到40公里。2012年,有人口100,514人。地处的里雅斯特
  • 氯化镓氯化镓是一种化合物,化学式GaCl3。固态的氯化镓是以二聚体形式Ga2Cl6存在。它是无色的,可溶于大部分溶剂,甚至是烷烃。这在金属卤化物里是很罕见的。作为一个路易斯酸,GaCl3的酸
  • 清颚龈擦音清颚龈擦音或清拱龈后擦音(voiceless palato-alveolar fricative 或 voiceless domed postalveolar fricative)为辅音之一,属齿龈后音,用于一些语言当中。国际音标以⟨ʃ⟩代表
  • 莱奥什·雅那切克莱奥什·雅那切克(捷克语:Leoš Janáček,1854年7月3日-1928年8月12日),捷克作曲家、音乐理论家与民俗音乐学者。其主要的创作融入了大量摩拉维亚与斯拉夫的名俗音乐元素,并运用较
  • 北葱北葱(学名:),又称细香葱、虾夷葱,是葱属植物的一员。其细长管状叶常同葱一样用为调味料,为常用辛香料,也可用作草药。北葱和洋葱或大蒜相比气味较淡。其英文名称亦称为“chives”,而