Patent ID: 8601565

Claim:
A firewall for protecting against security threats, the firewall comprising: at least one non-transitory computer-readable storage medium comprising instructions that, when executed by at least one processor of the firewall, are operable to: produce a Document Object Model (DOM) tree comprising a plurality of nodes representing a plurality of data elements for data that is received at the firewall and that is intended for a recipient behind the firewall; render the DOM tree, wherein rendering the DOM tree comprises (i) executing any DOM tree nodes containing executable data elements of the data such that any security threats harbored within the executable data elements are effectuated against the firewall and (ii) formatting any DOM tree nodes containing non-executable data elements of the data to produce render output that simulates a webpage presentation of the data; reconstruct the data from the render output to produce reconstructed data, wherein the reconstructed data comprises output resulting from execution of the executable data elements in place of the executable data elements that were originally included as part of said data; and pass the reconstructed data from the firewall to the intended recipient.