News for hackers. Stuff that matters.
Re:DuckDuckGo Searches Are Not Anonymous by nrj on Wednesday May 19, 2010 @03:47PM (#1362103)
One fix is to not directly send the users to the result page. Instead link to a redirect script on the ddg servers i.e, duckduckgo.com/goto.php?link=http://search-result.com/ and then have goto.php remove the REFERER from the request headers.
Re:DuckDuckGo Searches Are Not Anonymous by jacquesm on Wednesday May 19, 2010 @03:51PM (#1362118)
Not sure if that will work in all browsers, iirc a 301 or a 302 can still pass those headers on. The only trick I know of that will not do that is by using a 'meta refresh' with a time set to '0', but that has bad implications for the working of the 'back' button.
Re:DuckDuckGo Searches Are Not Anonymous by nrj on Wednesday May 19, 2010 @04:46PM (#1362290)
I haven't tested this out, but I don't see why something like this wouldn't work...

<?php

   header("Location: the-result.com");

   header("Referer: ");
?>
Re:DuckDuckGo Searches Are Not Anonymous by jacquesm on Wednesday May 19, 2010 @04:52PM (#1362306)
Referer is a header the browser sends, Location is a header the server sends. Also, the Location header needs either a relative url on the local machine or a fully qualified one. In this case it would have needed a fully qualified one.

So maybe you should have tested it ;) ?