The invention discloses a file
security level checking method, device, equipment, medium and product based on an API HOOK of a windows
operating system, and relates to the field of
computer software application, the method comprises the steps that a
callback function is registered by utilizing a driving module, when the windows
operating system creates a process, a created process ID is sent to a
service module in a user mode in the
callback function, and when the process is created, the
service module in the user mode is used for checking the
security level of the file; receiving a service completion message of the
service module; in the service module, based on a
dll injection mechanism, injecting a
dll injection program of the API HOOK module into the memory space of the created process; after the
dll injection program is injected, an API HOOK module is utilized to modify an entry address of a target process API, and the entry address points to a self-defined hook function; the target process is the created process; and when the application opens the file corresponding to the target process, calling the
security level judgment logic of the hook function, and judging whether the user security level can open the file corresponding to the target process, thereby avoiding the problem of high-density file leakage.