The 80/20 Rule for Web Application Security
The quest for developing perfectly secure code is a noble pursuit. Let the heavens smile down if anyone is actually successful at the endeavor.
The 80/20 Rule for Web Application Security
The quest for developing perfectly secure code is a noble pursuit. Let the heavens smile down if anyone is actually successful at the endeavor.
Take a quick look at your logfiles any time and you’re likely to see referer spam in there somewhere. Not only do those requests pollute your log files and stats pages, but they also consume resources on your server when you serve them pages that aren’t even going to be viewed by anyone. Here’s one way of stopping the spammers eating into your server resources:
awk '{print $11}' < /var/log/apache2/access_log| sort|uniq -c|sort -r|grep -v "mydomain.com"|lessif( isset( $_SERVER["HTTP_REFERER"] ) )
{
$referers_to_avoid = array(
"ttp://texas-holdem.andrewsaluk.com",
"ttp://www.highprofitclub.com/",
"ttp://www.sex4singles.com/",
"ttp://www.parishillton.com/",
"ttp://www.moneylinebet.com/",
"ttp://www.free-hentai-anime-sex.com",
"ttp://www.bondage-bdsm.us",
"ttp://www.handjob-movies.us",
"ttp://www.zoothumbnails.com",
"ttp://www.bestiality-animal-sex-stories.com",
"ttp://www.gay-men-sex-movies.com",
"ttp://russ-darrow-kia.gq.nu/",
"ttp://nissan-xterra.sbn.bz/",
"ttp://nissan-thermos.gq.nu/",
"ttp://folding-chair.wol.bz/",
"ttp://www.xcites-0-cost-interracial-cum-teen-sex-movie.com"
);
while( list( $key, $val ) = each( $referers_to_avoid ) )
{
if( strpos( $_SERVER["HTTP_REFERER"], $val ) )
{
die();
}
}
}
Lots of good stuff on i-am-bored.com including this great snowball fight game (lots more games for download) and the Counterfit Mini site!
If you’re bored of playing games on your Xbox 360 or Playstation 3, then head on over to Xeer2000, Evil Dave’s, or Dvotee for gaming tips and chat. Or check out the excellent Modern Warfare 2 and Battlefield Bad Company 2 videos sasbenjr produces.
OK, if you’re really bored, here’s a few things to pass the time:
Don’t forget, there’s a lovely tit on In Photos.org. Any idea what kind it is?
Gah! That ding-ding song is on the radio again! I had to turn down the volume earlier as it was giving me headaches listening to it! Others like it and the singer is talented, but lose the bloody dings please!
Must try this on a PC with sound in a min. Batman & Robin features Irish celebs and politicians and is sure to be a good laugh! (Thanks Owen for the link!)
OMG.. just looked at it and we fell about the place laughing. Good show langerland!
Do this 80’s lyric test and see how much you remember from the golden age of big hair and shoulder pads!
Hehe. I tried it, scored 21, and that includes 5 points for filling in the “where did you hear about this” box! Some songs came to me, I could hear them in my head, but when I tried the words, I drew a blank!

The Swearsaurus shows you how to swear and curse in 165 languages! Here’s the Irish page and they’re quite entertaining!
Shocking night in Kinsale on Saturday. Happy birthday Justin! Anyone else see this secret agent around the place? He was keeping a low profile and so hard to spot.
