The embodiment of the invention provides an anti-disclosure processing method and device, and the method comprises the steps: calling a preset compression program feature library when a process is monitored to be started, and judging whether a target application program corresponding to the process is a compression program or not; when it is judged that the target application program is the compression program, monitoring a file access operation corresponding to the target application program, and intercepting a to-be-compressed file corresponding to the file access operation; calling a presetkeyword scanning engine, performing content identification on the to-be-compressed file, and judging whether the to-be-compressed file hits a target keyword in a preset rule base or not; and when itis judged that the to-be-compressed file hits the target keyword, performing anti-leakage processing on the to-be-compressed file, and recording an anti-leakage processing result corresponding to theanti-leakage processing. Through the embodiment of the invention, the protection optimization of the compressed file is realized, the accidental leakage of the compressed file is avoided, the more flexible control of the compressed file can be realized, and the user experience and the file interaction are improved.