A method, an apparatus, and a system for interaction between a Web client and a server are provided. The method includes: sending a web page download request to the server; receiving a returned web page download response; parsing the web page download response, and extracting a scripting language program code from web page contents included in the web page download response; determining, when the scripting language program code is loaded in a script engine of the Web client, whether the loaded scripting language program code is a scripting language program code in ciphertext format, and if it is in ciphertext format, calling a decryption module first to perform decryption on the scripting language program code in ciphertext format, to obtain a scripting language program code in plaintext format, and then executing, by the script engine, the scripting language program code in plaintext format loaded in the script engine.
展开▼