A New York judge has allowed a woman suing Cornell University over an alleged gang rape to remain anonymous, citing reported threats as protests intensify over the university's response.