An Ohio judge ruled that such surveillance to prevent cheating could form a slippery slope to more illegal searches.