
Quoting
Penal Code Sec. 1054.2.
(a) (1) Except as provided in paragraph (2), no attorneymay disclose or permit to be disclosed to a defendant, members of thedefendant's family, or anyone else, the address or telephone numberof a victim or witness whose name is disclosed to the attorneypursuant to subdivision (a) of Section 1054.1, unless specificallypermitted to do so by the court after a hearing and a showing of goodcause.
(2) Notwithstanding paragraph (1), an attorney may disclose orpermit to be disclosed the address or telephone number of a victim orwitness to persons employed by the attorney or to persons appointedby the court to assist in the preparation of a defendant's case ifthat disclosure is required for that preparation. Persons providedthis information by an attorney shall be informed by the attorneythat further dissemination of the information, except as provided bythis section, is prohibited.
(3) Willful violation of this subdivision by an attorney, personsemployed by the attorney, or persons appointed by the court is amisdemeanor.
(b) If the defendant is acting as his or her own attorney, thecourt shall endeavor to protect the address and telephone number of avictim or witness by providing for contact only through a privateinvestigator licensed by the Department of Consumer Affairs andappointed by the court or by imposing other reasonable restrictions,absent a showing of good cause as determined by the court.