N.Y. Criminal Procedure Law § 270.15
1.
1-a. The court may, upon a finding that there is good cause to believe that a threat to the safety or integrity of the jury exists, upon motion of either party or any affected person or upon its own initiative, issue a protective order for a stated period regulating disclosure of the names and the business or residential address of any prospective or sworn juror to any person or persons, other than to counsel for either party. In determining whether good cause exists, the court may consider: