An anonymous reader writes "The Electronic Frontier Foundation awarded Yahoo a gold star for its diligence in fighting for user privacy in courts. From the release: 'In 2007, Yahoo received an order to produce user data under the Protect America Act (the predecessor statute to the FISA Amendments Act, the law on which the NSA’s recently disclosed Prism program relies). Instead of blindly accepting the government’s constitutionally questionable order, Yahoo fought back. The company challenged the legality of the order in the FISC, the secret surveillance court that grants government applications for surveillance. And when the order was upheld by the FISC, Yahoo didn’t stop fighting: it appealed the decision to the Foreign Intelligence Surveillance Court of Review, a three-judge appellate court established to review decisions of the FISC. ... Yahoo went to bat for its users – not because it had to, and not because of a possible PR benefit – but because it was the right move for its users and the company. It’s precisely this type of fight – a secret fight for user privacy – that should serve as the gold standard for companies, and such a fight must be commended. While Yahoo still has a way to go in the other Who Has Your Back categories (and they remain the last major email carrier not using HTTPS encryption by default), Yahoo leads the pack in fighting for its users under seal and in secret.'"
Although they did end up losing, and were forbidden from even mentioning the existence of the case until recently.