The invention discloses an interceptor-based
data processing method and apparatus, and a
computer device. The method comprises the steps of adding a configuration file under a first specified
directory of an application
system; receiving an input encrypted
jar packet, and adding configuration information carried in the encrypted
jar packet into the configuration file; configuring a specified interceptor in the application
system; and intercepting a to-be-executed
SQL request through the specified interceptor, and after the
SQL request is successfully intercepted, performing
encryption processing and decryption
processing on specified parameters corresponding to the configuration information in the
SQL request. According to the embodiment of the invention, an existing mode of carrying out security transformation on the data of the application
system based on the application code is abandoned; the specified interceptor is innovatively configured and used in the application system to quickly and conveniently execute
encryption processing and decryption processing on the specified parameter corresponding to the configuration information, so that the transformation cost of the application system is effectively reduced, and the
transformation efficiency of the specified parameter is improved.