Liberty and public safety

Rights are not absolute, so courts weigh individual freedom against order and safety in cases on searches, punishments and weapons, and where they strike the balance shifts over time.

From AP United States Government and Politics.