Derek Gathright | Scribbles & Bits

Archive for October 2007

Oct/07

16

Daily Links (2007-10-16)

  • Hatebook – Reminds me a lot of Post Secret in that it gives you insight into random people’s biggest fears, regrets, and frustrations in life.
  • rTorrent how-to – I keep needing to find that guide every now & then, so figured I’d save it here.
  • twitter.com/derek – I just went through an added a bunch of friends and invited more. So follow me if you are on the site.

No tags

Oct/07

12

Daily Links (2007-10-12)

No tags

Oct/07

11

Daily Links (2007-10-11)

No tags

Oct/07

11

Google launches Mobile AdSense

In a logical step, Google has launched a mobile version of it’s ad network AdSense so users can now visit sponsored links on sites they are browsing on their phone. The original incarnation of AdSense uses JavaScript to embed ads in a page, which carries little security risks to the user and the server the page is hosted on. However, because most mobile devices don’t support JavaScript, they had to resort to using servers-side scripting languages (PHP, Perl, ASP, etc..) to embed ads prior to delivering the page to the user. Here’s an example of the PHP version of Mobile AdSense.

<?php

$GLOBALS['google']['ad_type']=’text’;
$GLOBALS['google']['channel']=”;
$GLOBALS['google']['client']=’pub-5039159613133207′;
$GLOBALS['google']['format']=’mobile_single’;
$GLOBALS['google']['https']=$_SERVER['HTTPS'];
$GLOBALS['google']['host']=$_SERVER['HTTP_HOST'];
$GLOBALS['google']['ip']=$_SERVER['REMOTE_ADDR'];
$GLOBALS['google']['markup']=’xhtml’;
$GLOBALS['google']['output']=’xhtml’;
$GLOBALS['google']['ref']=$_SERVER['HTTP_REFERER'];
$GLOBALS['google']['url']=$_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
$GLOBALS['google']['useragent']=$_SERVER['HTTP_USER_AGENT'];
require(‘http://pagead2.googlesyndication.com/pagead/show_ads.php’);

?>

While Google’s motto is “Do No Evil” and I don’t think they would ever do anything to harm a Mobile AdSense client’s server, using server-side scripting languages presents a massive security hole on most servers. Once I can execute that code on your serer, all bets are off. One could access the database to gain customer information, redirect users to phishing sites, or even just reformat the hard drive just for the hell of it. The best method for hacking a server running Mobile AdSense would be DNS Cache Poisoning.

While I don’t exactly have any solutions on a method to deliver dynamic ads from the AdSense network that doesn’t use JavaScript or a server-side scripting language, I find their approach completely unacceptable from a security perspective and you will find a lot of objection in the enterprise community towards this method.

No tags

Link

I give it 24 hours before Jack Bauer breaks him out.

No tags

Oct/07

10

Sprint Center Grand Opening

The Sprint Center had it’s grand opening tonight and I was quite amazed. I’ll let the pictures do the talking. More pics on my Downtown KC blog

 Sprint Center Grand Opening  Sprint Center Grand Opening  Sprint Center Grand Opening  Sprint Center Grand Opening  Sprint Center Grand Opening

1537148431 5ad4086d76 m Sprint Center Grand Opening

No tags

Oct/07

10

Daily Links (2007-10-10)

No tags

You get 7000+ comments about viagra and porn to go through an delete. Ugh. Hopefully I won’t have to go through that again with the new spam filter. Thanks Akismet!

No tags

microsoft writerscreenshot

One of the reasons why I don’t find myself blogging too much is I think I’m just too lazy sometimes to go to my site, log in, go to the post page, use a crappy WSYWIG to create the blog entry, and hit post. Not a lengthy process, but one I get annoyed with. But I just came across Windows Live Writer, which is a Microsoft desktop app that hooks into your Spaces, Wordpress, Blogger, Livejournal, etc… blog and allows you to create a post in a very rich and intuitive interface. The biggest surprise is that it actually downloads the CSS sheet and mimics what your post will look like while you are editing it!

writer screenshot derek thumb First post from Windows Live Writer

So, props to Microsoft for coming out with a pretty slick app, and especially allowing users to connect it to something other than their Spaces blog, which no one has.

Alright, gotta post this to see what it looks like.

No tags

<< Latest posts

Find it!

Theme Design by devolux.org