The Code of Criminal Procedure, 1973 (CrPc)
327. Court to be open.
1(1) The place in which any Criminal Court is held for the purpose of inquiring into or trying any offence shall be deemed to be an open court to which the public generally may have access, so far as the same can conveniently contain them:
Provided that the presiding Judge or Magistrate may, if he thinks fit, order at any stage of any inquiry into, or trial of, any particular case, that the public generally, or any particular person, shall not have access to, or be or remain in, the room building used by the court.
2[(2) Notwithstanding anything contained in sub-section (1), the inquiry into and trial of rape or an offence under section 376, section 376A, section 376B, section 376C or section 376D of the Indian Penal Code (45 of 1860) shall be conducted in camera:
Provided that the presiding Judge may, if he thinks fit, or on an application made by either of the parties, allow any particular person to have access to, or be or remain in, the room or building used by the court.
(3) Where any proceedings are held under sub-section (2), it shall not be lawful for any person to print or publish any matter in relation to any such proceedings, except with the previous permission of the court.]
1. Section 327 renumbered as sub-section (1) thereof by Act 43 of 1983. sec. 4.
2. Ins. by Act 43 of 1983, sec. 4.