SAN DIEGO (CNS) - A North County defense attorney who secretly filmed women in various stages of undress at an Escondido tanning salon last year was sentenced Thursday to probation and ordered to undergo sex offender counseling.

In addition, Judge Eugenia Eyherabide ordered David Taylor Kaye not to possess a cell phone camera or pornography and to stay away from tanning salons.

The judge also suspended a 180-day jail sentence for the defendant, which won't be imposed unless he violates probation during the next three years.

Kaye, 43, pleaded guilty in June to two misdemeanor counts each of peeking through a private area and secretly filming another individual, the prosecutor said.

Seven victims were identified, including a 15-year-old girl, police said.

The defendant was the subject of a 10-month investigation that started when he was seen secretly filming women at a local tanning salon. He was arrested on April 19, 2010, and charged with four misdemeanor counts of secretly filming a person, Escondido police Lt. Craig Carter said.

In July 2010, Escondido police served a search warrant at Kaye's house and business and recovered additional evidence on Kaye's computers and phones that led to additional charges, Carter said.