We had a tenured professor who bent over and made it very obvious that he was trying to look up the skirts of some women sitting in the front row of his class.
The only defense was not to wear a skirt he could look up if you were sitting in the front row, so I always wore pants to his class.
Sexual harassment would be one of the few ways to get rid of a tenured professor, but it would have been his word against ours.