Her comments came on Wednesday after being asked what she is doing to protect Yahoo users from "tyrannical government" during an on-stage interview at a TechCrunch Disrupt conference in San Francisco. (Agencies)
Mayer said Yahoo scrutinizes and fights US government data requests stamped with the authority of a Foreign Intelligence Surveillance Court, but when the company losses
battles it must do as directed or risk being branded a traitor.
Data requests authorized by the court come with an order barring anyone at the company receiving the request from disclosing anything about them, even their existence.
"If you don't comply, it is treason," Mayer said when asked why she couldn't just spill details of requests by US spy agencies for information about Yahoo users.
Yahoo, Google, Facebook, and Microsoft are among Internet firms pushing for permission to disclose more details to users about demands for data made in the name of fighting terrorism or other threats.
Technology titans have been eager to bolster the trust of its users by making it clearer what has actually been demanded by and disclosed to US authorities. "It is our government's job to protect all of us and also protect our freedoms and protect the economy and protect companies," said Facebook co-founder and chief Mark Zuckerberg said at TechCrunch Disrupt.
"Frankly, I think the government blew it." US intelligence officials declassified documents on Wednesday revealing the National Security Agency violated privacy rules for three years when it sifted through phone records of Americans with no suspected links to terrorists.
The revelations raised fresh questions about the NSA's ability to manage the massive amount of data it collects and whether the US government is able to safeguard the privacy of its citizens.
Her comments came on Wednesday after being asked what she is doing to protect Yahoo users from "tyrannical government" during an on-stage interview at a TechCrunch Disrupt conference in San Francisco.