All certificates, applications, records and reports made for the purpose of sections 17a-560 to 17a-575, inclusive, and directly or indirectly identifying a person subject to it shall be kept confidential and shall not be disclosed by any person except so far (1) as the individual identified or his legal guardian, if any, or, if he is a minor, his parent or legal guardian, consents or (2) as disclosure may be necessary to carry out any of the provisions of said sections or (3) as a court may direct upon its determination that disclosure is necessary for the conduct of proceedings before it and that failure to make such disclosure would be contrary to the public interest.
Conn. Gen. Stat. § 17a-572
(1957, P.A. 650, S. 16; P.A. 80-470, S. 9, 11; P.A. 18-86, S. 43.)