U.S. President Barack Obama has vowed that U.S will respond "proportionally" to the cyberattack on Sony Pictures that the FBI has blamed on North Korea.

Speaking during his at the White House, Obama said Sony "made a mistake" in canceling the release of a comedy about a fictional plot to assassinate North Korea's leader, as a result of the hackers' threat to stage further attacks.

Obama: US to Respond to N. Korea Sony Attack

Obama said he was sympathetic to Sony's concerns, but added, "We cannot have a society in which some dictator someplace can start imposing censorship here.

Obama: US to Respond to N. Korea Sony Attack

"Again, I'm sympathetic that Sony as a private company was worried about liabilities and this and that and the other. I wish they would have spoken to me at first. I would have told them do not get in a pattern in which you are intimidated by these types of criminal attacks," he said.

Obama: US to Respond to N. Korea Sony Attack

:

Sorry, but your browser cannot support embedded video of this type, you can to view it offline.

The president also said there was no sign that North Korea worked together with another country on the cyberattack. He said the U.S. will respond to the hacking in "a manner and time we will choose."

During the press conference, Obama also defended his policies during the past year, saying the U.S. economy is improving and that America is leading around the world. He then fielded questions on a range of issues, including the dramatic shift in U.S. policy toward Cuba, and his controversial executive action on immigration, and his relationship with congressional Republicans.

The FBI on Friday for the first time publicly linked North Korea to the cyberattack on Sony. North Korea has denied any connection to the cyberattack.

The massive breach, which occurred November 24, resulted in the leak of tens of thousands of documents, including sensitive emails and personal information.

At the time of the hack, the Sony film studio had scheduled a Christmas Day release of "The Interview." But, following threats of terrorist attacks, several major theater chains said they would not show the film.

Sony announced Wednesday it was scrapping the December 25 release. It has no current plans to release the film.

The FBI said the hacking "reaffirms that cyber threats pose one of the gravest national security dangers to the United States."

A hacker group calling itself Guardians of Peace earlier promised a "bitter fate" for those attending any showings of "The Interview." The group invoked the September 11, 2001, attacks on the United States and warned people to "keep yourself distant" from theaters showing the film.

Sony Pictures chairman Michael Lynton told CNN Friday that the Hollywood studio did not make a mistake in pulling the film. He said the company experienced the worst cyber attack in American history and said Sony did not give in or cave to the hackers.

"Guardians of Peace" reportedly sent a message to Sony executives calling the decision to cancel the movie "very wise."

The U.S. Department of Homeland Security had said "there is no credible intelligence to indicate an active plot against movie theaters." President Barack Obama also downplayed the threat, saying his "recommendation would be that people go to the movies."

Secretary of State John Kerry said North Korea's actions are a "brazen attempt by an isolated regime to suppress free speech."

The FBI said its conclusion that North Korea was involved in the hacking is based in part on the discovery of links to malware previously deployed by North Korean agents. It said it also observed "significant overlap" between the infrastructure used in this attack and other malicious cyber activity the U.S. has previously linked to North Korea.

It said the tools used in the Sony attack were found to have similarities to a cyberattack North Korea carried out last year against South Korean banks and media outlets.

The film portrays Rogen and Franco as frustrated television journalists recruited by the CIA to assassinate North Korea's leader. In the film's climactic scene, Kim Jong Un's head is seen exploding when his helicopter is hit by a missile.

Pyongyang strongly denounced the comedy as an act of terrorism and called for Sony to cancel the film. It praised the hacking as a "righteous deed," while insisting it was not involved.

Many in Hollywood took to Twitter to speak out against Sony's decision to scrap the movie's release.