The invention discloses a browser-based
data security processing method and
system, and belongs to the technical field of
data processing. According to the method, a hook program is implanted into a browser rendering pipeline; detecting data to be transmitted through a
data transmission operation performed by the browser through the hook program; determining a control used for transmitting the data in a page displayed by the browser through the hook program, and forbidding a function of the control through the hook program; detecting the data, and keeping the
data transmission function of the control to be disabled under the condition that the data is determined to comprise the sensitive content; and under the condition that the data does not comprise the sensitive content, recovering the
data transmission function of the control. According to the method and the device, the problem caused by limiting the use lock of the user on the browser in a black and white
list mode in order to ensure the
data security in the prior art is solved, so that the
data security is ensured to a certain extent while the user freely uses the browser.