Sexual harassment, like other forms of discrimination or harassment on the basis of race, national origin, age, or disability, is barred by a federal law called Title VII. This legal guide explains the cases in which Title VII applies.