As Louis CK says, if murder were legal, there'd be a lot more murders. Laws against it keep us from having body bags strewn all over the countryside, especially at the mall. Same goes with public shaming. If you can't keep in mind, given your position of responsibility if you have one, how what you're about to do is going to look in the paper and to your employer, and then not stop yourself from doing it, you deserve what you get and surrender your privacy in the process.