Just another Perl shrine | |
PerlMonks |
Re: How to reliably get referrer?by punch_card_don (Curate) |
on Mar 03, 2009 at 16:50 UTC ( [id://747800]=note: print w/replies, xml ) | Need Help?? |
MUCH simpler idea - I think
htaccess checks the Query String, not the Referer.
The Perl script on the other server strips the originally requested url, date and hour, generates a Query String using static long_string_a, b, and c, the date and the hour, and redirects back to originally_requested_url?q=long_string_a+date+long_string_b+hour+long_string_c But htaccess strips the Query string off, so noone ever sees it, it's nigh impossible to guess, and it's dynamic so very hard to spoof. Any holes in my theory?
In Section
Seekers of Perl Wisdom
|
|