A federal judge has rejected a state law that restricts the dissemination of sexually oriented material over the Internet.

The law prohibits people from sending communications that are harmful to minors over the Internet if the sender knows or should know that the recipient is a minor.