It is called a prior restraint, when government prevents the media from publishing information, rather than passing punishment after breaking laws.
By all virtue, It has an immediate and irreversible sanction in preventing an impeding threats.
A prior restraint can be effected in several ways. A legal injunction, government order, and licensing, are ways to implement a prior restraint.
Art works, movies and other various publications usually obtain a license before their release. By this, these forthcoming publications are scrutinised by the government for potential threats.
Learn more on prior restraint: https://brainly.com/question/1143665?referrer=searchResults