The invention discloses a
software file integrity protection method and device, equipment and a medium, and relates to the technical field of
software integrity protection. The method comprises the following steps: when
software is subjected to
incremental change every time, performing abstract
processing on files associated with the change to obtain corresponding abstract values, and combining the abstract values into an abstract baseline of the change; signature is performed by using a private key, and the signature and the abstract baseline are published along with the change
upgrade package; when the integrity of the file in the software needs to be checked, respectively carrying out signature
verification on the abstract baselines based on signature data generated by previous incremental changes, and determining a current abstract value of the file; traversing the verified abstract baselines according to any sequence, and searching a target abstract baseline containing file abstract records; and comparing the recorded digest value with the current digest value, and judging whether the integrity
verification is successful or not according to the comparison result. Through the technical scheme of the invention, the problems of insufficient signature security in a production environment, overlarge full-quantity signature
engineering quantity and the like are solved.