Is any publication concerning the privacy illegal?

In R. Rajagopal v. State of Tamil Nadu the Supreme Court has laid down certain propositions defining the right to privacy. The Court held that any publication concerning the privacy aspects would become unobjectionable if, such publication was based upon public records including Court records. This is for the reason that once a matter becomes a matter of public record, the right to privacy no longer subsists and it becomes a legitimate subject for comment by press and media among others.