Webpage resource integrity checking method, device and equipment and readable storage medium
The invention discloses a webpage resource integrity checking method and device, equipment and a readable storage medium, and the method comprises the steps: obtaining a first hash value of a to-be-checked file after obtaining the to-be-checked file corresponding to a webpage resource through a JS t...
Saved in:
Main Authors | , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
05.04.2019
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention discloses a webpage resource integrity checking method and device, equipment and a readable storage medium, and the method comprises the steps: obtaining a first hash value of a to-be-checked file after obtaining the to-be-checked file corresponding to a webpage resource through a JS tool of a browser; Calculating a second hash value of the to-be-verified file; And if it is detectedthat the second hash value is inconsistent with the first hash value, obtaining file information corresponding to the to-be-verified file, and sending the file information to a server, so that the server determines that the to-be-verified file is in an incomplete state according to the file information. According to the invention, the webpage resource integrity checking method is adaptive to various browsers through the JS tool; According to the webpage resource integrity checking method and device, the compatibility of the webpage resource integrity checking method is improved, and when it isdetected that the to-be-c |
---|---|
Bibliography: | Application Number: CN201811493020 |