N.Y. Comp. Codes R. & Regs. tit. 22, § 205.4
(b) The general public or any person may be excluded from a courtroom only if the judge presiding in the courtroom determines, on a case-by-case basis based upon supporting evidence, that such exclusion is warranted in that case. In exercising this inherent and statutory discretion, the judge may consider, among other factors, whether:
(4) less restrictive alternatives to exclusion are unavailable or inappropriate to the circumstances of the particular case.
Whenever the judge exercises discretion to exclude any person or the general public from a proceeding or part of a proceeding in Family Court, the judge shall make findings prior to ordering exclusion.