Is the criminal case file material confidential?

The case files of criminal cases are confidential before the trial. After the trial, whether the evidence of the case is confidential depends on the specific circumstances of the case. If the case is heard in public, it will not be kept secret. If the case is not heard in public, it shall be kept confidential. Lawyers should not publish the transcripts of public security and procuratorial organs on the Internet. But whether it constitutes a crime depends on the specific circumstances.