Title VII prohibits employment discrimination based on race, color, religion, sex and national origin. It is illegal for your employer to retaliate against you under both Title VII and the New York State Human Rights Law.Sexual harassment is a form of sex discrimination and is unlawful under the New. In addition, domestic workers are now also protected from harassment on all bases. A list of all protected classes can be found in the adjoining section. Title VII also prohibits harassment based on the victim's membership in a protected class. All employees are required to work in a manner that prevents sexual harassment in the workplace. New York City Attorneys Advocating for Employee Rights. Sexual harassment is prohibited under federal Title VII of the Civil Rights Act.