safeguard

a measure taken to protect something or someone from harm