Script verification method, script signature method and computing equipment
The invention discloses a script verification method, which is executed in an operating system and comprises the following steps of executing a script file; judging whether the script file is a to-be-verified script file or not; if the script file is the to-be-verified script file, acquiring a scrip...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a script verification method, which is executed in an operating system and comprises the following steps of executing a script file; judging whether the script file is a to-be-verified script file or not; if the script file is the to-be-verified script file, acquiring a script file path based on the script file, and writing the script file path into the character device file; reading the character device file so as to obtain a script file to be verified based on a script file path in the character device file; and performing signature verification on the to-be-verified script file, and if verification succeeds, continuing to execute the script file. The invention also discloses a corresponding script signature method and computing equipment. According to the script verification method, the running safety of the script can be fully guaranteed.
本发明公开了一种脚本验证方法,在操作系统中执行,包括步骤:执行脚本文件;判断脚本文件是否是待验证脚本文件;如果是待验证脚本文件,则基于脚本文件获取脚本文件路径,并将脚本文件路径写入字符设备文件;读取字符设备文件,以便基于字符设备文件中的脚本文件路径获取待验证脚本文件;以及对待验证脚本文件进 |
---|