In some cases, journalists may be required by law to disclose their sources. However, legal protection varies by country and jurisdiction.