Fix security for assets