摘要 |
Provided are a method and device for logging in to a third-party site, the method comprising: receiving a request message sent by a traffic distribution entry product; obtaining application information of the third-party site according to the URL address and obtaining user information when logged in; encrypting according to an application key and the user information to obtain an encrypted string of user information; generating a new URL address according to the encrypted string of user information and the URL address of a third-party site page, and redirecting a browser to the new URL address, allowing the third-party site server to handle automatic user login to the third-party site. With the method, when clicking a link to visit a logged in third-party site on a traffic distribution entry product, a user can also be logged in to the third-party site without actively logging in, while still ensuring safety of the user information. |