Updated

The Obama administration found itself defending -- and beginning to explain -- yet another surveillance effort after leaked documents revealed information about two secret National Security Agency intelligence-gathering programs.

On top of a Guardian newspaper report that revealed how authorities were collecting phone records from millions, a Washington Post report detailed another program that scours major Internet companies including Google and Facebook for data. A former senior NSA official confirmed to Fox News that the program was started in 2007 by the FBI and NSA and allows them to tap into top U.S. Internet companies to pull audio, video and other data.

While civil liberties groups cried foul over the program, Director of National Intelligence James Clapper issued a statement late Thursday decrying the leak of the materials. He called the disclosure of the program that allows the NSA to collect communications data from Internet companies "reprehensible" and said the phone-records monitoring leak could cause harm to the nation's intelligence gathering activities.

At the same time, he took the rare step of moving to declassify information about the programs as he sought to defend them against criticism.

“The article omits key information regarding how a classified intelligence collection program is used to prevent terrorist attacks and the numerous safeguards that protect privacy and civil liberties," he said of the Guardian story.

Clapper also said the government was "prohibited from indiscriminately sifting through the telephony metadata acquired under the program.” All information acquired, he said, “is subject to strict, court-imposed restrictions on review and handling. The court only allows the data to be queried when there is a reasonable suspicion, based on specific facts, that the particular basis for the query is associated with a foreign terrorist organization. “

Several hours earlier, a senior administration official also pushed back, saying the Guardian article and Washington Post article about the Internet mining refers to collection under a law that "does not allow the targeting of any U.S. citizen or of any person located within the United States.”

It was not immediately clear how the official defined “targeting.”

“The program is subject to oversight by the Foreign Intelligence Surveillance Court, the Executive Branch, and Congress,” the official said. “It involves extensive procedures, specifically approved by the court, to ensure that only non-U.S. persons outside the U.S. are targeted, and that minimize the acquisition, retention and dissemination of incidentally acquired information about U.S. persons.”

A former NSA official told Fox News the FBI and National Security Agency (NSA) have been tapping into leading U.S. Internet companies to pull audio, video and photographs.

According to the official, the program began in 2007 and is in the second phase. Metadata from the companies is used to identify suspicious individuals and the secondary search goes into content. The official told Fox News that the Utah Data Center is likely a repository for this material.

The classified program is code-named PRISM, the Washington Post reported, and has not been disclosed publicly before. Members of Congress who are aware of the program were reportedly bound by oath to keep it confidential.

According to slides from an internal presentation intended for NSA senior analysts and obtained by the Washington Post, the program accounts for nearly one in seven intelligence reports.

The companies that participate knowingly in the program are Microsoft, Yahoo, Google, Facebook, PalTalk, AOL, Skype, YouTube and Apple, the Washington Post reports.

A number of the Internet companies issued statements Thursday night saying they only complied when legally bound to do so.

"Even when the system works just as advertised, with no American singled out for targeting, the NSA routinely collects a great deal of American content," the Washington Post report said. "That is described as "incidental," and it is inherent in contact chaining, one of the basic tools of the trade."

To be immune from lawsuits, companies like Yahoo and AOL are reportedly obliged to accept a directive from the attorney general and national intelligence director to open their service to the FBI's Data Intercept Technology Unit, which acts as a liaison between the companies and the NSA.

According to the slides, there has been “continued exponential growth in tasking to Facebook and Skype."

"With a few clicks and an affirmation that the subject is believed to be engaged in terrorism, espionage or nuclear proliferation, an analyst obtains full access to Facebook’s 'extensive search and surveillance capabilities against the variety of online social networking services,'" the Washington Post reports.

Skype can reportedly be monitored for audio when one end of a call is a conventional telephone and also can be monitored for video, chat and file transfers when users connect just by a computer. Google services that can be monitored include Gmail, voice and video chat, Google Drive files, and search terms.

A spokesperson for Google says the company "cares deeply" about the security of users' data.

"We disclose user data to government in accordance with the law, and we review all such requests carefully," the spokesperson said. "From time to time, people allege that we have created a government 'back door' into our systems, but Google does not have a 'back door' for the government to access private user data."

"Protecting the privacy of our users and their data is a top priority for Facebook," the company's chief security officer Joe Sullivan said in a statement. "We do not provide any government organization with direct access to Facebook servers.  When Facebook is asked for data or information about specific individuals, we carefully scrutinize any such request for compliance with all applicable laws, and provide information only to the extent required by law."

A Microsoft spokesperson said that the company only provides customer data after receiving a legally binding order or subpoena.

"In addition we only ever comply with orders for requests about specific accounts or identifiers," the spokesperson said. "If the government has a broader voluntary national security program to gather customer data we don't participate in it."

Fox News' Catherine Herridge contributed to this report.

Click for more from the Washington Post.