In the United States, there is no right to protect sources in a federal court. However, federal courts will refuse to force journalists to reveal their 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. On the journalistic side of keeping sources confidential, there is also a risk to the journalist's credibility because there can be no actual confirmation of whether the information is valid. As such it is highly discouraged for journalists to have confidential sources.