finish distributed security