Sarah Palin scored a victory in court this week when a federal judge affirmed his earlier decision to temporarily bar a popular media Web site from publishing leaked excerpts of a new book by the former vice-presidential candidate and Tea Party idol.