Examples of publication bans might include the government level publication ban on mass shooter manifestos. And the quasi-government Amazon bans of books. America also sees activist-led retractions of scientific studies. More prosaically, non-legitimate possession of classified material is illegal.
More prosaically, non-legitimate possession of classified material is illegal.
People who leak classified material can be prosecuted, if discovered, but the press is not bound by classification directives in the United States. It was established in this 1971 court case around the classified Pentagon Papers: