Redrect - make it impossible to trace source

Posted by ntesla123, 02-10-2011, 08:51 PM
How do I make a redirect that would redirect someone to any site, say facebook, cnn, amazon ... and that would make it impossible for the other site to trace where the redirect comes from. For example, if someone is redirected from a fictional website mywebsite.info, I want to make it impossible for the people at the other website to know that the referrer is mywebsite.info. I've tried using php header(Location: facebook dot com) and I believe it works sometimes, but do any of you have a better suggestion? Maybe multiple redirects? And is it possible to test if it works? Last edited by ntesla123; 02-10-2011 at 08:59 PM.

Posted by EMBRobert, 02-10-2011, 09:52 PM
Why not just use a second anonymous site for the redirect?

Posted by jeremyhaber, 02-11-2011, 01:31 PM
I actually unintentionally came across a solution to this the other day well programming. You are on the right track. However firstly you will need to link to another page in your server. Call it the redirector page. When they hit your page set a cookie or session value. If they have the cookie load the page and delete the cookie. If they dont have the cookie redirect them to your redirector script using header("location: ..."); The redirector script has to load an html page. Inside the html page have both javascript and html redirections in place to redirect them back to the other page. This will only work for browsers like Firefox and Chrome which load the source in a separate http request. And wont hide the source from someone with a tool like firebug. In the end the best way to prevent people from viewing your source is with something that can jumble it up (obfuscation). Hope that helps. I really don't see a need for this though. Even if someone takes your source, it's not like they have the back end.

Was this answer helpful?

 Print this Article

Also Read

php script security issues

Posted by CleverWebHost, 09-15-2008, 01:12 PMi am on a shared server with php script security...

I doubt anyone can help, but here goes....

Posted by worldveil, 09-12-2007, 11:04 PMHi all, I doubt that anyone can solve this, but here...

I have a WHM/cPanel server shared server...

Posted by MightWeb-Greg, 04-21-2009, 06:45 PMI just had user KILL the server using 80% CPU and...

Which one is best? McHost or Voxtreme

Posted by ghost, 08-26-2002, 12:31 PMHi I want to buy an reseller account but not just for...

partition disk (/) 80% full - need advice

Posted by activa, 09-12-2007, 08:52 PMhello all . i have the partition (/) 80% full ; what...