Authorities with Shanghai's environmental protection bureau said on Friday afternoon that it's illegal for the US consulate in Shanghai to publish assessments of air quality to the general public.