Adaptive security for risk management using spatial data