US spies are secretly tapping into servers of nine Internet giants including Apple, Facebook, Microsoft and Google in a vast anti-terror sweep targeting foreigners, explosive reports said Thursday.
Stung by a dizzying 24 hours of revelations on covert programs, the top US spy James Clapper slammed disclosure of information about the scheme, and warned that leaks about a separate program to mine domestic phone records hurt US national security.
The White House, meanwhile, facing a fast-escalating controversy over the scale and scope of secret surveillance programs, denied spying on Americans but insisted it must use every tool available to keep the US homeland safe.
The Washington Post, citing a career intelligence officer, said the National Security Agency (NSA) had direct access to Internet firm servers, to track an individual's web presence via audio, video, photographs and emails.
Some of the biggest firms in Silicon Valley were caught up in the program, known as PRISM, including Microsoft, Yahoo, Google, Facebook, Apple, PalTalk, AOL, Skype and YouTube, the reports said.
Read an update: US declassifies phone program details after uproar
The paper said the leak came from a career intelligence officer "with firsthand experience of these systems and horror at their capabilities."
"They quite literally can watch your ideas form as you type," the officer was quoted as saying.
Internet giants however denied opening their doors for US spy agencies.
"We have never heard of PRISM," said Apple spokesman Steve Dowling.
"We do not provide any government agency with direct access to our servers, and any government agency requesting customer data must get a court order."
Facebook's chief security officer Joe Sullivan said the huge social network did not provide any access to government organizations.
Google and Microsoft were also adamant that they only disclose what is legally demanded.
In response to the reports, also carried by Britain's Guardian newspaper, the White House said Americans were not being spied on, but did not deny the program existed.
"It involves extensive procedures, specifically approved by the court, to ensure that only non-US persons outside the US are targeted, and that minimize the acquisition, retention and dissemination of incidentally acquired information about US persons," the official said.
Congress recently reauthorized the program under Section 702 of the Foreign Intelligence Surveillance Act "after extensive hearings and debate," the official added.
As a damage control operation gathered pace, Clapper warned that data gathered under the program was "among the most important and valuable foreign intelligence information we collect."
"The unauthorized disclosure of information about this important and entirely legal program is reprehensible and risks important protections for the security of Americans," Clapper said.
Claims of the Internet spy operation broke as Washington reeled from a Guardian newspaper report on Wednesday detailing an apparent operation by the NSA to capture millions of domestic phone records.
The American Civil Liberties Union branded the program, authorized by a top secret court order, as "beyond Orwellian."
The group urged supporters to get angry and "be part of a strong public outcry against this program" by signing a petition.
But Mike Rogers, Republican chairman of the House Permanent Select Committee on Intelligence, said the program had stopped a terrorist attack on US soil.
Advocates say the data, collected on calls inside and outside the United States by the NSA, can be crunched to show patterns of communication to alert spy agencies to possible planning for terror attacks.
Senior US officials, while not confirming reports in the Guardian, defended the concept and argued the program was lawful and subject to multiple checks and balances across the government.
"The top priority of the president of the United States is the national security of the United States. We need to make sure we have the tools we need to confront the threat posed by terrorists," White House spokesman Josh Earnest said.
But he said President Barack Obama welcomed a debate on the balance between civil liberties and security.
Officials said the program did not "listen in" on calls or pull the names of those on the line, but simply collated phone numbers, the length of individual calls and other data.
Clapper, the Director of National Intelligence, said the Guardian report discussing the program, based on a secret court document ordering phone provider Verizon to turn over records, was "misleading."
He said he had ordered the declassification of certain information about the program so Americans could understand the limits of its use.
Randy Milch, Verizon's Executive Vice President and General Counsel, said in a message to staff that he was legally forbidden to comment, but that any such court order would compel the company to comply.
An NSA phone surveillance program was first reported during the administration of president George W. Bush—Obama's predecessor—and formed part of sweeping anti-terror laws and a surveillance structure adopted after the September 11, 2001 terror attacks in the United States.
Explore further: What you should know about NSA phone data program