In the United States, there is no right to protect sources in a federal court; Though federal courts will refuse to force journalists to reveal sources, unless the information the court seeks is highly relevant to the case, and there's no other way to get it. State courts provide varying degrees of such protection. Journalists who refuse to testify even when ordered to can be found in contempt of court and fined or jailed.