直接链接

✍ dations ◷ 2025-10-18 22:56:14 #文件分享,超文字,网络术语,互联网伦理

直接链接(英语: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....

相关

  • 伯多禄·隆巴迪彼得伦巴都(英语:Peter Lombard,1100年-1160年),又称为伦巴第人彼得,著名中古时期神学家,经院哲学的代表人物之一,活跃于巴黎大学。是一位哲学家、神学家、于1159年被任命为巴黎主教
  • 普鲁卡因普鲁卡因(英文:Procaine),它的商品名为奴佛卡因(英文:Novocaine),一种局部麻醉药。最初用于缓解肌肉注射青霉素引起的疼痛,也用于牙科手术。作用主要是钠离子通道阻滞剂。普鲁卡因是
  • 黄荷凤黄荷凤(1957年9月-),生于浙江嵊州,籍贯浙江临安,中国生殖医学家,现任上海交通大学医学院教授。2017年当选为中国科学院院士。1982年毕业于浙江大学医学院(原浙江医科大学),1989年获得
  • 奥迪name = 'Transport', description = '交通', content = {{ type = 'text', text = [[]] }, { type = 'item', original = 'articulated bus', rule = 'zh-cn:铰接客车;zh-tw
  • 第一型和第二型误差第一型及第二型错误(英语:Type I error & Type II error)或型一错误及型二错误为统计学中推论统计学的名词。在假设检验中,有一种假设称为“零假设(虚无假设)”;假设检验的目的是利
  • 苯并呋喃苯并呋喃,也称为香豆酮、氧茚、β-苯并呋喃,是一个杂环芳香有机化合物。苯并呋喃可通过氯乙酸对水杨醛发生O-烷基化,而后失水得到。
  • 皇帝菜茼蒿(学名:Glebionis coronaria),别名春菊、打某菜、茼蒿菜、艾菜、皇帝菜,是一种菊属植物,原产于地中海南岸。茼蒿在欧洲原本是庭园中美丽的观叶植物,但在宋朝引进中国后,却成为餐
  • 汽车仪表汽车仪表,是汽车专用的一系列仪表。汽车仪表的基本仪表包括车速里程表、转速表、机油压力表、水温表及燃油表。而一些指示和警号灯亦包括在内。车速里程表由两个仪表组成:车速
  • 硝酸锂硝酸锂(分子式:LiNO3)是一种白色至浅黄色固体。可由碳酸锂或碳化锂与硝酸反应制得。在生产中可用于制作烟花(焰色反应为红色),和发烟筒。LiNO3受热分解生成氧化锂 (Li2O),二氧化氮
  • 失实症失实症(有时简称为DR)是一个对外部世界的感知或经验的改变,让人觉得周围环境奇怪或不真实。其他症状包括感觉环境不自然,缺乏感情性色彩和深度。这是一个许多疾病的游离症症状,如