A federal judge has backed a teeth-whitening business in its fight with Connecticut over rules that made it illegal for people who are not dentists to provide certain procedures.

U.S. District Judge Michael Shea in Hartford also ruled in the 2011 lawsuit that the state may limit to dentists the practice of positioning a light in front of a customer’s mouth, which activates the peroxide used to whiten teeth.