N.Y. Family Court Act § 341.1
Exclusion of general public
The general public may be excluded from any proceeding under this article and only such persons and the representatives of authorized agencies as have a direct interest in the case shall be admitted thereto.