Notwithstanding §§ 26-7A-27 and 26-7A-28, information concerning children may be released, pursuant to an order of the court, to persons or agencies who have a legitimate interest in the child, to the child's parents, guardian, or custodian, or to the child's attorney. The Department of Social Services may release information pursuant to provisions of § 26-8A-13 regarding apparent, alleged, or adjudicated abused or neglected children. Any correctional or detention facility may release information concerning any child to any other correctional or detention facility that has a legitimate interest in the child.
SDCL 26-7A-29