<p>A method and apparatus for controlling a browser are provided. The method includes: acquiring a characteristic identifier of a user; comparing the characteristic identifier of the user with a pre-stored benchmark characteristic identifier to determine whether the characteristic identifier is identical to the benchmark characteristic identifier; if the characteristic identifier is identical to the benchmark characteristic identifier, entering a pre-set private browsing mode wherein a browser plug-in saves the browsing history data of the user; and when the user completes the browsing, receiving an instruction from the user to close the plug-in and exit the private browsing mode. The method and apparatus for controlling a browser save the browsing data of a user in private browsing mode and prevent other users from accessing such data without the correct characteristic identifier.</p>