Witness Protection Act Article 4

If the life, body, freedom or property of a witness or a person who is closely related to such witness is in jeopardy due to his or her testifying in front of the prosecutor or in court,and the protection is necessary, the prosecutor or the judge could issue a protective order by his/her discretion or a petitioned by the witness, the victim or his/her representative, the defendant or his/her defense counsel, the transferred person or his/herretained attorney, the assistant, the judicial police official, the handling agency, or the complainant in private prosecution. The prosecutor or the judge may take necessary preliminary measures to protect the witness if the protective order is unable tobe issued in time in emergency circumstances.During the investigation of criminal or gangster cases, the judicial police agency may take necessary preliminary measures to protect the witness if it is necessary, and should report such measures to the prosecutor or the court within seven days. If such measuresare inappropriate, the judge or the prosecutor may modify or terminate it.The competent court for granting the petition for the protective order should be the court that adjudicates the criminal or gangster case at issue.
中文原文 證人保護法第4條
證人或與其有密切利害關係之人因證人到場作證,致生命、身體、自由或財產有遭受危害之虞,而有受保護之必要者,法院於審理中或檢察官於偵查中得依職權或依證人、被害人或其代理人、被告或其辯護人、被移送人或其選任律師、輔佐人、司法警察官、案件移送機關、自訴案件之自訴人之聲請,核發證人保護書。
但時間急迫,不及核發證人保護書者,得先採取必要之保護措施。
司法警察機關於調查刑事或流氓案件時,如認證人有前項受保護必要之情形者,得先採取必要之保護措施,並於七日內將所採保護措施陳報檢察官或法院。
檢察官或法院如認該保護措施不適當者,得命變更或停止之。
聲請保護之案件,以該管刑事或檢肅流氓案件之法院,為管轄法院。

English translation for reference only; the Chinese text prevails. Not legal advice.