ROCHESTER — A New York law enacted to protect children from receiving pornography over the Internet has withstood its first appellate challenge.

In a decision last week, the Appellate Division, Fourth Department, unanimously affirmed the conviction of a western New York man who was found guilty of attempting to send explicit pornography to a state trooper posing as a 15-year-old girl.