The current online Deck Builder Magazine contains a relevant article that discusses the 2009 IRC requirement for ledger attachment to resist lateral forces.
http://www.deckmagazine.com/article/252.html
http://www.deckmagazine.com/article/252.html