Balancing individual freedom with public order and safety