Breaking the law or good citizenship?

So it’s okay to break the law if you do it in good faith to maintain national security?
MySA.com: Editorials

Those follow-on attacks never materialized. Not, we know, from lack of effort on the part of al-Qaida. But success in deterring terrorist attacks has bred a sort of complacence that has spawned punitive lawsuits against companies that [...]