Taiwan has now progressed into a democratic society ruled by law. However, when confronted with the need to safeguard national security and classified materials, there is a lack of adequate law for their implementation. As a result, controversies arise when carrying out anti-spying work. In order to make sure our security work better conforms to the requirements of democratic procedures, this paper studies the stumbling blocks that stand in the way of the current version of the Anti-spying Act initiated by Ministry of Justice. This paper starts off exploring the concepts of security protection and then uses the Opview public opinion analysis system to understand the Anti-Spying Act drafted by Ministry of Justice in 2017 and the reasons why this act was rejected by Executive Yuan for negative public reactions. We have found some problems and presented suggestions for the authorities.