Legal aspects of safety and health