No one deserves to be harassed, online or offline. Laws such as the Criminal Code of Canada and the Canadian Human Rights Act offer protection from harassment.
While Canada-specific laws are referenced, the principles could apply broadly. For instance, teaching students about laws protecting digital data could bridge their understanding of both local and international standards in digital ethics.