1. A method for a network device communicatively coupled to a public network and a private network, the method comprising: receiving, by the network device, a content delivery mechanism from the public network; determining, by the network device, a category of a source Uniform Resource Locator (URL) of the content delivery mechanism; determining, by the network device, at least one of an object tag and a script content delivery mechanism; determining, by the network device, whether at least one of the object tag and the script tag are permitted for the determined category of the source URL; and if at least one of the object tag and the script tag are not permitted for the determined category of the source URL, transforming, by the network device, the content delivery mechanism by removing at least one of the object tag and the script tag from the content delivery mechanism.