Trump calling the media the enemy of the people is different from President Obama trying to prevent illegal leaks. All presidents attempt to stop illegal leaking, but they do so without demonizing the fourth estate. Trump attacks the media merely because he does not like how he is being portrayed, no matter how true it is.
Source: Los Angeles Times September 15, 2018 10:52 UTC