是否有任何普通的电子邮件客户端预先获取链接而不是图像? [英] Do any common email clients pre-fetch links rather than images?

查看:67
本文介绍了是否有任何普通的电子邮件客户端预先获取链接而不是图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尽管我知道很多电子邮件客户端都会预取或缓存图像.我不知道任何预取常规链接,例如<a href="somelinkhere">some link</a>

Although I know a lot of email clients will pre-fetch or otherwise cache images. I am unaware of any that pre-fetch regular links like <a href="somelinkhere">some link</a>

这是通过一些电子邮件完成的一种做法吗?如果是,是否可以在链接中添加某种rel属性的非跟随类型,以防止出现这种情况?

Is this a practice done by some emails? If it is, is there a sort of no-follow type of rel attribute that can be added to the link to help prevent this?

推荐答案

尽管我知道很多电子邮件客户端都会预取或缓存图像.

Although I know a lot of email clients will pre-fetch or otherwise cache images.

那还不是给定的.

许多电子邮件客户端(无论是基于Web的应用程序还是独立的应用程序)都具有隐私控制功能,可以防止图像自动加载,从而防止跟踪阅读(特定)电子邮件的人.

Many email clients – be they web-based, or standalone applications – have privacy controls that prevent images from being automatically loaded, to prevent tracking of who read a (specific) email.

另一方面,有像f.e.这样的客户gmail的网络界面,该界面试图建立下载所有参考的外部图像的标准,以缓解/使用户跟踪此类尝试无效-如果大多数gmail用户都自动下载了这些图像,无论他们是否实际打开了电子邮件,可用于分析目的的数据被淡化了.

On the other hand, there’s clients like f.e. gmail’s web interface, that tries to establish the standard of downloading all referenced external images, presumably to mitigate/invalidate such attempts at user tracking – if a large majority of gmail users have those images downloaded automatically, whether they actually opened the email or not, the data that can be gained for analytical purposes becomes watered down.

我不知道任何预取常规链接(例如某些链接)的东西

I am unaware of any that pre-fetch regular links like some link

出于示例目的,我们保留使用gmail,但其他人的行为也会类似:由于Google始终对网络上的内容"感兴趣,因此其爬虫很可能会通过该链接查看其包含的内容/潜在客户到–为自己的索引目的.

Let’s stay on gmail for example purposes, but others will behave similarly: Since Google is always interested in "what’s out there on the web", it is highly likely that their crawlers will follow that link to see what it contains/leads to – for their own indexing purposes.

如果是,是否可以将某种非跟随类型的rel属性添加到链接中以帮助防止这种情况发生?

If it is, is there a sort of no-follow type of rel attribute that can be added to the link to help prevent this?

rel = no-follow关注排名而不是爬网,并且no-index(无论是在robots.txt中还是通过meta element/rel属性)都不会阻止管闲的机器人至少请求URL.

rel=no-follow concerns ranking rather than crawling, and a no-index (either in robots.txt or via meta element/rel attribute) also won’t keep nosy bots from at least requesting the URL.

此外,涉及的其他客户端(例如防火墙/防病毒/防恶意软件)也可能出于分析目的而请求它,而没有任何用户主动触发它.

Plus, other clients involved – such as a firewall/anti-virus/anti-madware – might also request it for analytical purposes without any user actively triggering it.

如果您想(相对)确定任何操作仅由(特定)人类用户触发,则可以使用电子邮件或Internet上其他类型消息中的URL只是将其引导到一个网站,他们在该网站上确认使用method = POST通过表单采取的操作;是否还需要某种身份验证或CSRF保护,可能会超出此问题的范围.

If you want to be (relatively) sure that any action is triggered only by a (specific) human user, then use URLs in emails or other kind of messages over the internet only to lead them to a website where they confirm an action to be taken via a form, using method=POST; whether some kind of authentication or CSRF protection might also be needed, might go a little beyond the context of this question.

这篇关于是否有任何普通的电子邮件客户端预先获取链接而不是图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆