The records of law enforcement officers and agencies concerning all children taken into temporary custody or issued a summons or citation under this chapter or chapter 26-8A, 26-8B, or 26-8C shall be maintained separately from the records of arrest and any other records regarding detention of adult persons. The records concerning children, including their names, may not be inspected by or disclosed to the public except:
(1) By order of the court;(2) If the court orders the child to be held for criminal proceedings, as provided in chapter 26-11;(3) If there has been a criminal conviction and a presentence investigation is being made on an application for probation; or(4) Any child or the child's parent or guardian may authorize the release of records to representatives of the United States Military for the purpose of enlistment into the military service.SDC 1939, § 43.0320 as enacted by SL 1968, ch 164, § 14; SL 1979, ch 171, § 5; SL 1989, ch 226, § 5; SL 1991, ch 217, § 34B; SDCL Supp, § 26-8-19.5; SL 1992, ch 183, § 18; SL 1994, ch 157, § 6; SL 1994, ch 214.