How does the Supreme Court balance the rights of journalists with the need to investigate money laundering cases?

The Supreme Court has sought a response from the Enforcement Directorate on a journalist's bail plea in a money laundering case. I want to understand how the judiciary ensures both the protection of press freedom and the effective investigation of financial crimes.