Controlling the ‘referer’ header
blog.fastmail.com
blog.fastmail.com
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. https://github.com/delight-im/Secure-Firefox
Also note that setting it to 1 will still block you from loading CDN-served images and javascript for smaller sites that are not using their own custom subdomain for their 3rd party CDN service. So, a site using MaxCDN to serve their images and javascript from the default CDN-issued domain of zonename.companyname.netdna-cdn.com with "HTTP Referrer Whitelist" enabled for their example.com domain that you are visiting will block you from downloading images and static javascript hosted on the CDN.
On chomre://flags search for reduced-referrer-granularity and enable it to get a similar effect. I believe it may only affect web sites that do not explicitly provide a referrer policy.
This gives you the ability to whitelist websites, and also a lot of control over what kind of requests are blocked and what aren't. I have it set to block everything by default, and only a few websites cause problems.
referrer-spoof: * true
referrer-spoof: wsj.com false
This, for example, "allows" viewing of articles on wsj for google-referred links.
I believe it should be widely supported.
https://www.owasp.org/index.php/Open_redirect
It's not a huge issue, given the number of open redirects on the Internet, but it may put your site at risk of being used in phishing attacks.
IIRC Google uses googleusercontent.com
I'm thinking on working on my own implementation for a project
https://www.facebook.com/notes/facebook-security/link-shim-p...
I meant to say that if your /redirect entrypoint returns a Header that looks like
Refresh: 0; URL={url}
Your visitors' browsers will remove the referer header altogether when loading {url}.This is in contrast to the more common Location: {url} header.
It looks like Slack's https://slack-redir.net/link?url=http://www.example.com/ isn't locked down, for instance.
There's also the u= parameter which tells which user you are. That _is_ obfuscated, but it has the same correlation issue, it's the same for forever for a single user, so you could tell that it's the same user looking at different URLs.
(we use the u= parameter both for supporting multiple concurrent logged in users on the same machine, and as an extra layer of CSRF protection)
But point taken, thanks.