The new law requires the operators of online platforms to divulge the names of their sources and contributors if the authorities require it.