YouTube has been blocked by the Egyptian government after an anti-Islam film went viral.

According to MSN the 14-minute-video "Innocence of Muslims" portrays the Prophet Muhammad as a "fraud, a womanizer and a pedophile".

The offensive video was produced by an Egyptian-born Christian who has since then become a United States citizen.

On Saturday, Judge Hassouna Tawfiq from a Cairo court ordered a thirty day suspension on YouTube after the video-sharing website refused to take down the controversial film that was sparking deadly rioting.

Judge Tawfiq said that the video was "offensive to Islam and the Prophet (Muhammad)".

Yahoo reported that the ruling was made in the Egyptian capital where the first protests against the film had taken place. The video has caused numerous riots across 20 countries leaving more than 50 dead.

Egypt's new constitution has banned insulting "religious messengers and prophets" but has Judge Tawfiq, along with the rest of Egypt, under estimated the power of the Internet?

Human rights lawyer Gamal Eid said that the decision to ban YouTube comes from the lack of knowledge one has about how the Internet functions.

"This verdict shows that judges' understanding of technology is weak," Eid said. "The judges do not realize that one wrong post on a website does not mean you have to block the entire website."

But after the YouTube video accumulated more than 5 million views, Egyptian officials decided that all of the social-media-sharing site's content was unfit.

Should YouTube be blamed for the death of those involved in the riots? A spokeswoman from YouTube's parent comapny Google stated that the firm has "received nothing from the judge or government related to this matter".

Although the video does bear a warning before the production commences, do you agree with the Egyptian government of blocking the entire website? Will that solve all of their problems? We'd love to hear your opinion on this matter.