TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Controlling the ‘referer’ header

86 点作者 nmjenkins将近 9 年前

8 条评论

marco1将近 9 年前
This article is about website owners. The best thing you can do as a user is enabling the &#x27;Referer&#x27; for same-origin requests only. That way, you keep almost all the advantages of the &#x27;Referer&#x27; but at the same time fix almost all the privacy issues.<p>In Firefox, you can do this by setting `network.http.referer.XOriginPolicy` to `1` in `about:config`. Or use a `user.js` file with other helpful privacy settings, e.g. <a href="https:&#x2F;&#x2F;github.com&#x2F;delight-im&#x2F;Secure-Firefox" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;delight-im&#x2F;Secure-Firefox</a>
评论 #11965210 未加载
评论 #11967843 未加载
评论 #11965420 未加载
评论 #11967433 未加载
itsnotlupus将近 9 年前
The URL refresh thing can be done without JavaScript by having a little server side entrypoint that redirects to a destination URL with the same header.<p>I believe it should be widely supported.
评论 #11964794 未加载
评论 #11964917 未加载
patcheudor将近 9 年前
By controlling the referer header you can do all sorts of cool things like tamper with authenticated Google search histories in a way which makes it look like the person actually searched for a particular term:<p><a href="http:&#x2F;&#x2F;thefutureisastephenkingnovel.com&#x2F;badforensics&#x2F;" rel="nofollow">http:&#x2F;&#x2F;thefutureisastephenkingnovel.com&#x2F;badforensics&#x2F;</a>
michaeloblak将近 9 年前
How is it possible that this header is misspelled? Is there any interesting story behind it?
评论 #11969201 未加载
djsumdog将近 9 年前
Google and DuckDuckGo do this with a redirect system, right?
cm3将近 9 年前
Before loading the page I thought this might be about hiding the client&#x27;s ip (that connected to an SMTP server) in the mail headers. Is that possible at all?
chrismorgan将近 9 年前
Correction: s&#x2F;&lt;meta type=&quot;referrer&quot;&gt;&#x2F;&lt;meta name=&quot;referrer&quot;&gt;&#x2F;g
评论 #11965032 未加载
MichaelGG将近 9 年前
What is the benefit to users of having folder names in the URL? Seems like it totally avoids the issue if a unique ID or encrypted name is used.
评论 #11965068 未加载
评论 #11964993 未加载