During the president's press conference Thursday, Obama addressed the A.P. scandal, explaining the need to strike a balance between national security and press freedom. But he said unequivocally that leaks can be dangerous, and that he must look out for troops and officers overseas.