U.S. President Barack Obama says Muslim nations must do to protect Americans abroad.
Obama's comments to U.S. TV come after a series of attacks on U.S. diplomatic compounds, including the killing of the U.S. ambassador to Libya and three other Americans in an attack on the U.S. consulate in Benghazi on September 11.
U.S. officials have blamed an anti-Islam Internet video in part for the violence.
Obama called the video "offensive" but said it was no excuse for violence.
Obama also said the man behind the video is a "shadowy character."
Despite the violence, he says the situation in Libya is not hopeless. But he says it will be bumpy and at times dangerous.
Meanwhile, Saudi Arabia is the latest country to shut down YouTube to block access to the video.
The official Saudi Press Agency reported the kingdom had sent a request to Google, YouTube's owner, to "veil" all links containing the video, which was produced in the United States and which ridicules the Prophet Muhammad.
Google has blocked access to the video in Libya and Egypt following violence there, and in Indonesia and India because it says the video broke laws in those countries.
Based on AP and Reuters reporting