The invention discloses a method and a
system for enhancing the security of network transactions, belonging to the field of
information security. The method comprises the following steps: a
client sends a service request to a first
server, the first
server sends first information to a second
server, the second server generates second information, and the second information is returned to the
client by the first server so as to be supplied to a user; a security device receives the first information and the second information input by the user and generates third information for the user; the
client receives the third information input by the user, the first server sends the third information to the second server, when the second server receives the third information, the second server generates an
authentication code by utilizing the same method that the security device generates the third information, the second server compares the
authentication code with the third information for
authentication and returns results to the first server, and the first server executes transactions when the authentication is success and returns the transaction result to the client. The
system comprises the client, the security device, the first server and the second server. The invention greatly enhances the security in the transaction process.