Patent ID: 8544062

Claim:
A method for controlling the transfer of data between a computer and an external device connected to a port of the computer, the method comprising the steps of: a. receiving, by a module on the computer, a data portion of a file being communicated during a data communication session between the computer and a removable external device, said removable external device connected to a physical communication port of the computer; b. analyzing, by said module, the data portion according to a protocol associated with the physical communication port; c. determining, by the module, based at least in part on said data portion analysis, whether a decision on whether to allow the data communication session may be reached, wherein if no decision may be reached on whether to allow said data communication session, then storing the data portion in a buffer, wherein the buffer is associated with the data communication session and returning to step ‘a’ and waiting for a next data portion, and if said decision may be reached, then proceeding to step ‘d’; d. determining, by the module, based at least in part on said data portion analysis, whether to allow the data communication session, wherein if said data communication session is to be allowed, then transferring the data portion with data stored in the associated buffer, if any exist, toward or from the physical communication port, and if said data communication session is not to be allowed, then modifying data transportation related to said data communication session.