Patent ID: 8769678

Claim:
A method for providing cloud-based security scanning, the method comprising: storing a plurality of signatures of previously received files in memory of a datacenter, each signature based on at least a partial hash of less than all data packets of an associated previously received file, wherein the associated file is associated with a content rating indicative of a category of content; receiving an identification of less than all data packets of a file sent by one or more gateways over a communication network to the datacenter, the identification based on at least a partial hash of the packets comprising less than all data packets of the file before all data packets of the file are received; executing instructions stored in memory of the datacenter, wherein execution of the instructions by a processor of the datacenter determines that the identification matches a signature associated with one of the previously received files; and sending information over the communication network to the gateway regarding the file associated with the matching signature, the information including the associated content rating, wherein the gateway blocks the file based on the associated content rating indicating a prohibited category of content before all data packets of the file are received.