BUFFALO, New York — The college student had endured months of online and cellphone harassment from her ex-boyfriend. She ignored the barrage of e-mails, changed her phone number and dismantled online profiles to cut him off.

more