How can societies ensure that measures taken to protect public safety do not infringe upon the civil liberties and rights of individuals, particularly in times of crisis or heightened security threats?

Oversight
Societies can ensure that measures taken to protect public safety do not infringe upon civil liberties and rights by implementing checks and balances, such as oversight by independent bodies or the judicial system. They can also prioritize transparency and accountability in decision-making processes related to security measures. Additionally, societies can uphold the principle of proportionality, ensuring that any restrictions on civil liberties are necessary and not excessive in relation to the threat at hand. Lastly, fostering a culture of respect for human rights and civil liberties can help to prevent overreach in times of crisis or heightened security threats.