In the most recent example of the clash between tech companies and the government, Facebook CEO Mark Zuckerberg took to his social network on Thursday to voice his anger and confusion over the National Security Agency's Internet-surveillance practices.

"When our engineers work tirelessly to improve security, we imagine we're protecting you against criminals, not our own government," Zuckerberg wrote on Facebook to the social's network's users.

Zuckerberg decided to write the post after news outlets reported on Wednesday--based on information leaked by former NSA contractor Edward Snowden--that the NSA used fake Facebook pages to lure surveillance targets and hack into their computers. Earlier reports said the NSA may also have intercepted user data from Yahoo and Google without the companies' knowledge.

The Facebook founder also wrote that he had called President Obama to express his "frustration over the damage the government is creating for all of our future."  

"Unfortunately, it seems like it will take a very long time for true full reform," he added.

According to Reuters, White House officials confirmed the Wednesday call between Obama and Zuckerberg, saying they spoke about "the recent reports in the press about alleged activities by the U.S. intelligence community."

Zuckerberg's missive noted that Facebook encrypts its pages and communications, uses secure protocols for traffic, and offers multiple factors for authentication. In light of the government's reported activities, he wrote, online safety and security need to be a collective effort. "It's up to us--all of us--to build the Internet we want," he wrote.