California Civil Code section 1714(a) states a property owner has the obligation to make sure that the property does not pose risks to those who enter by law. If an individual is injured on an owner's property, they might have legal recourse against them for having an unsecure environment.
To have a negligent security claim, the injured victim must establish: the property owner owed for duty of care, knew or should have known there was potential for criminal activity on the premise, inadequate security and directly caused your injury.
California courts assess the accountability of the property owner by balancing the foreseeability of the criminal act and burden of security measures that could have prevented it. Other factors could include if the property owner had similar incidents occurring on the property and if any steps were taken to address the issue.