An apparatus, system, and method are directed towards parsing and
selectively encrypting different portions of data in real-time,
decrypting the encrypted data in real-time, and passing the data to a
media player on a client computer or other network capable device. Data
in a network packet may be parsed into payload and non-payload portions.
The payload portion of the packet data may then be examined to determine
whether a predefined type of the data is recognized. For example, in one
embodiment, the predefined data type may be media content. If the payload
portion is recognized as a predefined data type, then it may be
selectively encrypted. The selectively encrypted payload portion and
non-payload portion of the packet may then be combined, such that the
non-payload portion may be employed by firewalls, proxies, and/or NATs to
route the packet towards the client computer or other network capable
device.