N.Y. Comp. Codes R. & Regs. tit. 22, § 29.1
(a) Taking photographs, films or videotapes, or audiotaping, broadcasting or telecasting, in a courthouse including any courtroom, office or hallway thereof, at any time or on any occasion, whether or not the court is in session, is forbidden, unless permission of the Chief Administrator of the Courts or a designee of the Chief Administrator is first obtained; provided, however, that the permission of the Chief Judge of the Court of Appeals or the presiding justice of an Appellate Division shall be obtained with respect to the court over which each presides. Such permission may be granted if:
(5) granting of permission will be consistent with the constitutional and statutory rights of all affected persons and institutions.
Permission may be conditioned upon compliance with any special requirements that may be necessary to ensure that the above conditions are met.