A New York judge has ruled a sexual assault lawsuit filed against disgraced actor Kevin Spacey cannot go forward if the plaintiff chooses to remain anonymous.