You have to build a culture where this is unacceptable through laws that are enforced with sufficient vigor. And as we've seen, you (the public) have to keep constant vigilance for oversteps and "correct" those oversteps through a process of holding government and private individuals accountable.