Journalists must take steps to protect their sources and prevent cyber-attacks, data breaches, and other security threats.