Stars on the red carpet at the Cannes Film Festival won’t be allowed to snap selfies.