But that setback may not be disabling, and some of the regulations appeared unconstitutionally broad.
The law was struck down as unconstitutionally broad in the 1970's because it barred the practice 24 hours a day, citywide.
Mr. Goldstein had vowed to have New York's harassment law itself struck down as unconstitutionally broad and vague, but the judges rejected his argument.
Ms. Ferraro initially resisted the subpoena as unconstitutionally broad, but later complied with a narrower one.
She also rejected arguments that the definition was unconstitutionally broad because it restricted the times at which some material that has social value may be broadcast.
In a dissent, Justice Harry A. Blackmun said the Court should have ruled directly that the regulation was unconstitutionally broad.
David Cole, a law professor at Georgetown University, said he believed the 1996 law was unconstitutionally broad because it resulted in "guilt by association."
Some legal scholars, such as Robert Bork, claim these search powers are unconstitutionally broad.
It also rejected arguments that the statute's language punishing disclosure of material "relating to the national defense" was unconstitutionally broad.
Hate speech codes at the University of Wisconsin and the University of Michigan have been rejected by courts in the last three years as unconstitutionally broad.