Official Secrets Act, 1923
14. Exclusion of public from proceedings
In addition and without prejudice to any powers which a Court may possess to order. the exclusion of the public from any proceedings if, in the course of proceedings before a Court against any person for an offence under this Act or the proceedings on appeal, or in the course of the trial of a person under this Act., application is made by the prosecution, on the ground that the publication of any evidence to be given or of any statement to be made in the course of the proceedings would be prejudicial to the safety of the State, that all or any portion of the public shall be excluded during any part of the hearing, the Court may make an order to that effect, but the passing of sentence shall in any case take place in public.