The problem is that when the people who are responsible for our security do their job, the newspapers find out about it and print how they did it it for all the world to know. I honestly think if the NYT got word of Osama bin Laden's exact location and knew that it was going to be bombed within the next six hours, the news would be on their web site before the planes could get off the ground.(The problem in this case is that we don't have to sacrifice liberty for security, if the people who are responsible for our security would do their job properly.
So the NYT has absolutely no responsibility whatsoever, except to its stockholders?The NYT is not to blame if some moron with security clearance violates that clearance. They are the ones who are putting us at risk, not the newspaper.
During WW II, just before the D-Day invasion, Eisenhower was concerned that news and the location of the Normandy invasion would leak out. He was so worried he called together the news pool and briefed them on all the details of the planned invasion. He ended up by telling the reporters that they were now privy to military secrets, and if a word of what they knew got out before the invasion, he would have them all arrested, tried, and hanged for treaon.
Today, the Times would probably sue, claiming "prior restraint" or something.