One type of pornography that is against the law in most countries is child pornography . Hardcore pornography , on the other hand , is usually regulated . The production and sale , and to a slightly lesser degree the possession , of child pornography is illegal in almost all countries , and some countries have restrictions on pornography depicting violence ( see e.g. rape pornography ) and\/or pornography depicting sex of a human with an animal .