While dealing with a case where a rape victim was alleged to have been denied rental accommodation in Jharkhand after her identity was revealed by the press, the Supreme Court today held that Section 228A of the Indian Penal Code (IPC) has to be followed by the media.