The film caused uproar for denigrating Islam and the Prophet Muhammad.
Lawyer Mohammed Hamid Salim, who filed the lawsuit last year, alleges the film constitutes a threat to Egypt's security.
The ruling can be appealed. Past verdicts ordering the blocking of websites deemed offensive in Egypt have not been applied.
The film sparked demonstrations last September that spread to more than 20 countries, including Egypt.