In many Western countries there are laws which specifically exempt journalists, and only journalists, from some types of laws about releasing improperly-obtained information.
It does not generalize to other professions/pursuits; it would be like saying "well, the person who reads the parking meters is allowed to issue parking tickets, so anyone else should be too" -- the person issuing the tickets has specific-to-them legal permission to do so.