Tim Hudson threw 6 1/3 scoreless innings and the Giants hung on to an early lead to shutout the Dodgers 2-0 and win their fourth straight game.