CPC H04L 63/1416 (2013.01) [G06F 8/20 (2013.01); G06Q 30/0276 (2013.01); H04L 63/101 (2013.01)] | 33 Claims |
1. A method comprising, in a software application:
(a) automatically intercepting an advertising code received by the software application from a server, wherein the advertising code is configured to display an advertisement within the software application using a WebView-type object of the software application;
(b) automatically wrapping the intercepted advertising code with program code that is configured to:
scan the intercepted advertising code for malicious content, and
perform at least one of the following actions:
(i) allow or prevent the display of the advertisement within the software application based on the scanning, or
(ii) report the malicious content, over a computer network, to a remote database which stores a blacklist of malicious content,
wherein the wrapping comprises one of the following:
positioning portions of the program code before and after the intercepted advertising code,
positioning the program code before the intercepted advertising code, and
interleaving the program code with the intercepted advertising code; and
(c) automatically delivering the wrapped intercepted advertising code to the WebView-type object of the software application, such that, when the wrapped intercepted advertising code is executed by the WebView-type object, the following actions are automatically performed:
the scanning of the advertising code for malicious content, and
at least one of actions (i) or (ii).
|