Not long after the videos reached the internet, Ms. Cantone was being recognized on the street. T-shirts began to appear emblazoned with something she was heard to say in one of the clips: “Are you shooting a video? Bravo!”

Distraught at her unwanted notoriety, she quit her job, moved to another part of Italy and filed a lawsuit demanding that the videos be taken down. Italian news outlets reported on her efforts to disappear from public view, physically and virtually.

A judge in Naples ruled in her favor this month, ordering websites to remove the videos and never repost them. But the judge also ruled that Ms. Cantone had to pay the legal costs of some of the companies she sued because of errors in her court filings.

Elisabetta Garzo, president of the Naples court where the case was heard, told the daily La Repubblica on Friday that there were so many websites involved in the litigation that it took months to hear from them all. She added that once that was done, “the procedure was very fast.”

Judge Garzo’s decision was published on Sept. 5, about a year after Ms. Cantone filed her lawsuit.

That was a relatively quick result by Italian standards, legal experts said, but still an eternity on the internet, where the enforcement authorities are inevitably a step behind.