I doubt this would be legal unless proven to be a national security issue (1st amendment grounds).
The First Amendment doesn't apply to non-citizens in foreign countries.