legal risk prevention