The application belongs to the technical field of
data security, and particularly relates to a
database communication content
encryption packaging method,
system, device and medium, which comprises the following steps: deploying a
client Socket communication agent on a
server deploying a
database access program, receiving a local initial
data access request and encrypting and packaging the same to obtain first
encryption packaging data; receiving the data by the
server Socket communication agent, performing legality
verification, and then recording a result,
blacklisting an IP, or decrypting and unpackaging the data to obtain parsed
data access request; forwarding the parsed request to a
database native monitoring port, encrypting and packaging returned response data to obtain second
encryption packaging data; and returning an original response to a local access program after decryption and unpackaging by the
client agent. The application improves the
data security in the database communication process.