Drawing a sharp distinction between New York’s Internet pornography law and the fatally flawed federal Communications Decency Act, the Court of Appeals yesterday upheld the constitutionality of the state statute.

The Court agreed unanimously that the New York law survives constitutional scrutiny largely because, unlike the stricken federal statute, it is directed not only at the transmission of certain communications, but also the act of luring a child into sex.