CONTENT DELIVERY NETWORK ENCRYPTION
A system and method for delivering content to end users encrypted within a content delivery network (CDN) for content originators is disclosed. CDNs transport content for content originators to end user systems in a largely opaque manner. Caches and origin servers in the CDN are used to store content. Some or all of the content is encrypted within the CDN. When universal resource indicators (URIs) are received from an end user system, the CDN can determine the key used to decrypt the content object within the CDN before delivery. Where there is a cache miss, an origin server can be queried for the content object, which is encrypted in the CDN.
This application is a continuation of U.S. application Ser. No. 13/564,212 filed on Aug. 1, 2012, which is a continuation of U.S. application Ser. No. 13/245,673 filed on Sep. 26, 2011, which is a continuation of U.S. application Ser. No. 12/573,542 filed on Oct. 5, 2009, which claims the benefit of U.S. Application No. 61/102,809 filed Oct. 3, 2008. This application is a continuation-in-part of U.S. application Ser. No. 13/945,664 filed on Jul. 18, 2013, which is a continuation of U.S. application Ser. No. 13/245,861 filed on Sep. 27, 2011, which is a continuation of U.S. application Ser. No. 12/723,533 filed Mar. 12, 2010, which is claims the benefit of U.S. Application No. 61/163,412 filed Mar. 25, 2009. This application is a continuation-in-part of U.S. application Ser. No. 12/563,793 filed Sep. 21, 2009, which claims the benefit of U.S. Application No. 61/098,530 filed Sep. 19, 2008. Each of these references is hereby incorporated by reference in its entirety for all purposes.
BACKGROUNDThis disclosure relates in general to content delivery networks (CDNs) and, but not by way of limitation, to delivery of content while protecting the content.
Content delivery networks (CDNs) are used by originators of content to offload delivery of content objects. CDNs distribute edge servers throughout the Internet that host and/or cache content for content originators as a service. A content originator may overload their servers provide poor quality of service (QoS) or worse without reliance on a CDN.
End users often are unaware that they are receiving their content from a CDN. Because the CDN are largely kept invisible to the end user, it is often only URLs that are given to the CDN. The URLs are correlated to a content object that is served from the CDN. Where a content object is currently missing from the part of the CDN receiving the request, other portions of the CDN or the origin server can be queried for the content object.
CDNs typically service a large number of end user systems requesting content that content originators may want protected through the CDN. Bulk theft can happen if some or all of a CDN is compromised. With high-definition video being delivered with CDNs, the threat of losing digital copies in bulk would worry a content originator. Hacking by outsiders and theft by insiders could result in loss of digital copies of content objects.
SUMMARYIn one embodiment, the present disclosure provides for delivering video and/or audio content to end users encrypted within a content delivery network (CDN) for content originators. CDNs transport content for content originators to end user systems in a largely opaque manner. Caches and origin servers in the CDN are used to store content. Some or all of the video and/or content is encrypted within the CDN. When universal resource indicators (URIs) are received from an end user system, the CDN can determine the key used to decrypt the content object within the CDN before delivery. Where there is a cache miss, an origin server can be queried for ,the content object, which is encrypted in the CDN.
In another embodiment, the present disclosure provides a method for protecting content within a CDN that delivers content for content originators. A URI specifying a content object is received. The URI is analyzed to determine if the content object is protected with encryption within the CDN. The content object is searched for within the CDN. The content object is requested from an origin server when the content object cannot find the content object cached within the CDN. The URI is analyzed to find a key from a number of keys. The key for the content object is retrieved. The content object is encrypted with the key to create an encrypted content object. The encrypted content object is cached in the CDN. The encrypted content object or a portion thereof is decrypted with the key as the content object is passed to an end user computer.
In yet another embodiment, the present disclosure provides a CDN for delivering content to end users encrypted within the CDN for content originators. The CDN includes a key database comprising a number of keys, an interface to the Internet and an edge server comprising a content database for caching content. The number of keys are indexed by information derivable from the URI information. A key is determined from the number of keys by analysis of a URI from an end user system. The interface requests the content object from an origin server. The CDN requests content from origin servers when not cached in the CDN. The edge server receives the URI specifying a content object. The edge server analyzes the URI to determine if the content object is protected with encryption within the CDN. The edge server stores the content object in the content database. The edge server decrypts the content object or a portion thereof with the key before delivery to an end user.
In still another embodiment, the present disclosure provides a CDN for delivering content to end users encrypted within the CDN for content originators. The CDN comprising: means for receiving a URI specifying a content object; means for analyzing the URI to determine if the content object is protected with encryption within the CDN; means for searching for the content object within the CDN; means for requesting the content object from an origin server when the content object cannot find the content object cached within the CDN; means for analyzing the URI to find a key from a number of keys; means for retrieving the key for the content object; means for encrypting the content object with the key to create an encrypted content object; means for caching the encrypted content object in the CDN; and means for decrypting the encrypted content object or a portion thereof with the key as the content object is passed to an end user computer.
Further areas of applicability of the present disclosure will become apparent from the detailed description provided hereinafter. It should be understood that the detailed description and specific examples, while indicating various embodiments, are intended for purposes of illustration only and are not intended to necessarily limit the scope of the disclosure.
The present disclosure is described in conjunction with the appended figures:
In the appended figures, similar components and/or features may have the same reference label. Further, various components of the same type may be distinguished by following the reference label by a dash and a second label that distinguishes among the similar components. If only the first reference label is used in the specification, the description is applicable to any one of the similar components having the same first reference label irrespective of the second reference label.
The ensuing description provides preferred exemplary embodiment(s) only, and is not intended to limit the scope, applicability or configuration of the disclosure. Rather, the ensuing description of the preferred exemplary embodiment(s) will provide those skilled in the art with an enabling description for implementing a preferred exemplary embodiment. It being understood that various changes may be made in the function and arrangement of elements without departing from the spirit and scope as set forth in the appended claims.
Referring first to
In this embodiment, the content distribution system 100 locates the content objects (or portions thereof) and distributes the content objects to an end user system 102. The content objects are dynamically cached within the CDN 110 to improve the QoS. A content object is any content file or content stream and could include, for example, video, pictures, data, audio, software, and/or text. The content object could be live, delayed or stored. Throughout the specification, references may be made to a content object, content, content stream and/or content file, but it is to be understood that those terms could be used interchangeably wherever they may appear.
Many content providers 108 use a CDN 110 to deliver the content objects over the Internet 104 to end users 128. The CDN 110 includes a number of points of presence (POPs) 120, which are geographically distributed through the content distribution system 100 to deliver content. Various embodiments may have any number of POPs 120 within the CDN 110 that are generally distributed in various locations around the Internet 104 that are proximate to end user systems 102. Multiple POPs use the same IP address such that an Anycast routing scheme is used to find a POP likely to be close to the end user in a network sense for each request. In addition to the Internet 104, a wide area network (WAN) 114 or other backbone may couple the POPs 120 with each other and also couple the POPs 120 with other parts of the CDN 110.
When an end user 128 requests a web page through its respective end user system 102, the request for the web page is passed either directly or indirectly via the Internet 104 to the content originator 106. The content originator 106 is the source or re-distributor of content objects. The content site 116 is an Internet web site accessible by the end user system 102. In one embodiment, the content site 116 could be a web site where the content is viewable with a web browser. In other embodiments, the content site 116 could be accessible with application software other than a web browser. The content provider 108 directs content requests to a CDN 110 after they are made or formulates the delivery path by embedding the delivery path into the URLs for a web page. In any event, the request for content is handed over to the CDN 110 in this embodiment by using an Anycast IP address corresponding to two or more POPs 120.
Once the request for a content object is passed to the CDN 110, the request is associated with a particular POP 120 within the CDN 110 using the Anycast routing scheme. The particular POP 120 may retrieve the portion of the content object from the content provider 108. Alternatively, the content provider 108 may directly provide the content object to the CDN 110 and its associated POPs 120 through prepopulation, i.e., in advance of the first request. In this embodiment, the content objects are provided to the CDN 110 and stored in one or more CDN servers such that the portion of the requested content may be served from the CDN 110. The CDN servers include edge servers that actually serve end user requests. The origin server 112 holds a copy of each content object for the content originator 106. Periodically, the content of the origin server 112 may be reconciled with the CDN 110 through a cache, hosting and/or pre-population algorithm. Some content providers could use an origin server within the CDN 110 to host the content and avoid the need to maintain a copy.
Once the content object is retrieved, the content object is stored within the particular POP 120 and is served from that POP to the end user system 102. The end user system 102 receives the content object and processes it for use by the end user 128. The end user system 102 could be a personal computer, media player, handheld computer, Internet appliance, phone, IPTV set top, streaming radio or any other device that receives and plays content objects. In some embodiments, a number of the end user systems 102 could be networked together. Although this embodiment only shows a single content originator 106 and a single CDN 110, it is to be understood that there could be many of each in various embodiments.
Content can be protected during the distribution process. The content originator 106 protects the content objects with encryption. An encrypted link can be used between the content originator 106 and the CDN 110 when transferring the content object, which can be unencrypted. The CDN encrypts the content object upon receipt before hosting or caching the content object. Decryption is performed before sending the content object or a portion thereof to an end user system 102. An encrypted link can be used for the delivery or the content object could be encrypted, watermarked, fingerprinted, and/or have digital rights management (DRM) applied.
The content originator could encrypt the content object instead of or in addition to use of an encrypted link when transferring content for hosting by the CDN or when there is a cache miss within the CDN. Each content originator 106 could have a key that is known to both content originator 106 and CDN 110. The various content originators 106 could have different unique keys that are used to decrypt the content object or portion thereof before sent to an end user system 102.
In another embodiment, the content originator 106 could interact with a CDN key database for a content object where there is a key unique to each content object and content originator 106. An encrypted link would be used when interacting between the content originator 106 and the CDN key database. The content originator 106 requests a key that is used by the content originator 106 to encrypt the content object before it is sent to the CDN. The CDN uses the key when decrypting the content object or a portion thereof. A different embodiment could store the keys at the content originator 106 that are requested by the CDN when needed using an encrypted link.
With reference to
The edge server 230 assigned the content object request analyzes the URI to determine if it corresponds to an encrypted content object. Other embodiments check a cache 232 of the edge server 230 and metadata, the file system, a table or other methods can indicate that the content object referenced by the URI is protected in the cache with encryption. The encryption used in one edge server cache 232 can be different from other edge server caches 232 in other POPs 120 or even in the same POP 120.
In one embodiment, the URI is a request that indicates a file and an address and optionally an encryption variable to indicate if the file is encrypted. In another embodiment, the encryption variable is not within the URI, but the URI can be correlated to an encryption variable, which indicates if the file is encrypted. Optionally, the URI can also include a path, origin location, variable(s), a prefix, etc. In some form, the URI is passed to various caches and/or host servers of the CDN 110 in an attempt to find a requested content object. It is to be understood that when the term URI is used, it doesn't necessarily require any format and just conveys at least where to find a content object.
The URI either has the encryption variable or can be otherwise correlated to an encryption variable. For example, ACME.llnw.net/videos/sports/game.mov?red5 is a URI with an ACME prefix, a llnw.net domain, a videos/sports path, a game.mov filename, and a red5 encryption variable. The URI itself, the ACME prefix and/or red5 in this example could be used by edge servers 230 to determine if a content object is encrypted.
One embodiment hashes the URI or a portion of the URI. The hash is used to query for parameters associated with the URI from a CDN key database 236. Passing of keys to/from the CDN database 236 uses an encrypted channel. Other embodiments could use other information from the URI to query from the CDN key database 236, for example, the prefix ACME could correspond to a key that is used for all content referenced with a URI having an ACME prefix. In various embodiments, there could be different keys for the content originator, content partner and/or another party in the supply chain; the content object, its format, its bitrate, its size, and/or other attributes of the content object; the particular CDN, POP, cache server and/or edge server. For example, high-definition video could be encrypted, but standard-definition content would not.
In some cases, the CDN 110 is used to host content for others. A secure transfer utility like S/FTP can be used to upload content to a CDN origin server 248. The content object can be encrypted automatically and stored in the content database 252 after upload. In some embodiments, the content object is encrypted during the transfer in the key it will be protected with within the CDN 110. The content originator 106 loads the content object into the CDN 110 and places the key or keys into the CDN key database 236. The keys are stored and indexed according to the way they will later be retrieved. For example, the hash of the URI is stored if the hash is later used to find the key when the URI is received.
Some embodiments could be encrypted in a number of keys successively. For example, a content object could be encrypted with a key for a CDN and then encrypted with a different key unique to an edge server. Decryption would require both keys to get the content object in the clear. Other embodiments could combine one or more keys and use the combination as a new key to encrypt the content object such that both were required to get the content object in the clear.
Some embodiments pass the content object into and out of the CDN in an encrypted form or using an encrypted channel, socket or tunnel during the delivery process. When the cache(s) 232 of the CDN or the content database 252 do not hold a requested content object, it is retrieved from the origin server 112 of the content originator 106. Encrypted streams using RTMPE, HTTP-S, RTMPS, or other protocols can be used to protect a content object read from the content originator 106. The content object would be encrypted and cached after it enters the CDN 110 and the key would be stored in the CDN key database 236.
In some cases, the content originator 106 could encrypt the content object and provide the key to the CDN 110 after delivery so it can be decrypted and encrypted in the key of the CDN 110. In one embodiment, the content object is left encrypted with the content originator key and encrypted again with the CDN key. The content originator key would be stored in the CDN key database 236 that that both decryptions could be performed upon delivery of the content object to an end user.
The delivery to the end user system 102 could also be protected with an encrypted tunnel and/or encryption of the content object itself. This embodiment uses a watermark/digital rights management (DRM) function 244 to protect the content object. A watermark embeds information about the end user system 102 into the content object by weaving it through the content object in a manner that does not reduce the quality appreciably and is not easily removed. DRM generally protects access and use of the content object in conjunction with software on the end user system 102 with rules enforced by the software. A fingerprint can also be used that puts information into the content object as metadata.
Any or all of watermarking, fingerprinting and/or DRM can be used to protect the content object in various embodiments. One a URL-by-URL basis, these three protection mechanisms can be evoked. Information in the URL or correlated to the URL can be placed into the content object or define the rules for the DRM. Information that might go into the fingerprint or watermark include IP address of the end user system, account number or other variable from URI, time and date of delivery, the URI or a portion thereof, a serial number unique to the particular delivery, etc. The information embedded into a content object generally allows later determining the end user system 102 and/or end user 128 that received the content object.
Referring to
With reference to
Referring to
The origin key database 312 holds keys that protect the content objects in the origin database 308. These same keys may be used within the CDN to protect content objects as they make their way to the end user computers 102 in one embodiment. The keys in the origin key database 312 would be passed to the CDN key database(s) 236 using a secure channel and/or encryption. Where the origin server 112 directly delivers to the end user system 102 the content object could be decrypted as it is streamed.
In another embodiment, the origin key database 312 has keys that are used in the origin server 112. Different keys are used in the CDN key database(s) 236. Transfer of a content object involves decryption from the old key and encryption into the new key. The decryption could be performed before the transfer to the CDN or afterward.
With reference to
Content is requested from the CDN 110 and delivered to end user systems 102. An encrypted tunnel is optionally used between the CDN 110 and the end user system 102. This embodiment does not encrypt the content object sent to the end user, but other embodiments could encrypt the content object before passing it to the end user system 102. Watermarking, fingerprinting and/or DRM are used to protect the content object as it passes to and is used by the end user system 102.
Referring to
Where the content object is found in the CDN in block 528, processing jumps to block 536 where the content object is decrypted with the appropriate key retrieved from the CDN or origin server. The end user system 102 (browser or otherwise) may request a range of bytes from the file instead of the whole file at once. The edge server 230 can extract and decrypt an arbitrary range of bytes from the file without having to decrypt the entire file. Optionally, fingerprinting, watermarking and/or DRM can be added to the content object before delivery to the end user system 102. In block 540, the content object or portion thereof is sent to the end user system 102 optionally using an encrypted channel or with encryption of the content object.
Where the content object cannot be found within the CDN 110 in block 528, processing continues to 516 to handle the cache miss. A source of the URI is determined in block 516 that could be an IP address along with other elements of a URI. The content object is requested form the origin server in block 520. The origin server could decrypt and encrypt the content object for the key used in the CDN 110 or could rely upon the CDN 110 for the encryption.
In block 524, the key is obtained from the CDN key database 236 and/or origin key database 312. Before storing in a database or cache, the content object is encrypted with the key in block 528. The content object is stored in a cache of the CDN in block 532. Processing continues to blocks 536 and 540 where the content object is decrypted with the key, protected and delivered as discussed above. The process 500 then repeats for each content object request. In some cases, the content object is not encrypted and the cryptographic portions of the process 500 would not be performed.
A number of variations and modifications of the disclosed embodiments can also be used. For example, some of the above embodiments protect the exchange between content originator and CDN, but it is to be understood that there could be any number of links in a chain between the content originator and CDN each with the ability to encrypt content objects and tunnels while exchanging necessary keys.
While the principles of the disclosure have been described above in connection with specific apparatuses and methods, it is to be clearly understood that this description is made only by way of example and not as limitation on the scope of the disclosure.
Claims
1. (canceled)
2. A content delivery network (CDN) having a plurality of points of presence (POPs) distributed geographically, the CDN comprising:
- a first key database, wherein: the first key database is part of a first POP of the plurality of POPs; and the first key database stores a first plurality of keys for decrypting content objects;
- a first cache, wherein: the first cache is part of the first POP; and the first cache stores a first encrypted version of a content object;
- a first edge server, wherein: the first edge server is part of the first POP; and the first edge server is configured to: receive a first request for the content object, wherein the first request is generated by a first end-user system; retrieve a first key of the first plurality of keys from the first key database; decrypt at least a portion of the first encrypted version of the content object using the first key to create a first unencrypted object; and initiate delivery of the first unencrypted object to the first end-user system over the Internet;
- a second key database, wherein the second key database stores a second plurality of keys for decrypting content objects;
- a second cache, wherein the second cache stores a second encrypted version of the content object;
- a second edge server, the second edge server configured to: receive a second request for the content object; retrieve a second key, wherein: the second key is retrieved from the second key database; and the second key is one of the second plurality of keys; decrypt at least a portion of the second encrypted version of the content object using the second key to create a second unencrypted object; and initiate delivery of the second unencrypted object to a second end-user system over the Internet.
3. The CDN as recited in claim 2, wherein:
- the second edge server is part of the first POP; and
- the second key database is part of the first POP.
4. The CDN as recited in claim 2, wherein the second edge server is part of a second POP of the plurality of POPs.
5. The CDN as recited in claim 2, wherein the second key database is part of a second POP of the plurality of POPS.
6. The CDN as recited in claim 2, wherein the first key database and/or the second key database are indexed by information derivable from information contained in a URI.
7. The CDN as recited in claim 2, further comprising a fingerprinting function that embeds a source Internet address into the content object.
8. A method for protecting content within a content delivery network (CDN) having a plurality of points of presence (POPs) distributed geographically, the method comprising:
- receiving a first request for a content object;
- locating a first encrypted version of the content object at a first edge server, wherein the first edge server is part of a first POP of the plurality of POPs;
- retrieving a first key for the first encrypted version of the content object, wherein the first key is located in a first key database;
- receiving a second request for the content object;
- locating a second encrypted version of the content object at a second edge server, wherein the second edge server is part of the CDN;
- retrieving a second key for the second encrypted version of the content object, wherein the second key is located in a second key database; and
- decrypting at least a portion of the first encrypted version of the content object with the first key to create a first unencrypted object;
- initiating delivery of the first unencrypted object to a first end-user system;
- decrypting at least a portion of the second encrypted version of the content object with the second key to create a second unencrypted object; and
- initiating delivery of the second unencrypted object to a second end-user system.
9. The method for protecting content within the CDN as recited in claim 8, wherein:
- the second edge server is part of the first POP; and
- the second key database is part of the first POP.
10. The method for protecting content within the CDN as recited in claim 8, wherein;
- the second edge server is part of a second POP of the plurality of POPs; and
- the second key database is part of the second POP.
11. The method for protecting content within the CDN as recited in claim 2, wherein the first key database and the second key database are part of the CDN.
12. The method for protecting content within the CDN as recited in claim 8, wherein:
- the first key database is outside the CDN; and
- the first key is passed to the CDN using a secure channel.
13. The method for protecting content within the CDN as recited in claim 8, wherein the first request is received by the first edge server and the second request is received by the second edge server.
14. The method for protecting content within the CDN as recited in claim 8, wherein:
- the first request includes a URI specifying the content object; and
- the first key is located by analyzing the URI.
15. The method for protecting content within the CDN as recited in claim 14, further comprising watermarking the content object with a fingerprint that allows determination of an IP address that the URI was requested from.
16. The method for protecting content within the CDN as recited in claim 8, wherein the first end-user system is the same as the second end-user system.
17. A memory device having instructions for protecting content within a CDN having a plurality of points of presence (POPs) distributed geographically, that when executed, cause one or more processors to:
- receive a first request for a content object;
- locate a first encrypted version of the content object at a first edge server, wherein the first edge server is part of a first POP of the plurality of POPs;
- retrieve a first key for the first encrypted version of the content object, wherein the first key is located in a first key database;
- receive a second request for the content object;
- locate a second encrypted version of the content object at a second edge server, wherein the second edge server is part of the CDN;
- retrieve a second key for the second encrypted version of the content object, wherein the second key is located in a second key database; and
- decrypt at least a portion of the first encrypted version of the content object with the first key to create a first unencrypted object;
- initiate delivery of the first unencrypted object to a first end-user system;
- decrypt at least a portion of the second encrypted version of the content object with the second key to create a second unencrypted object; and
- initiate delivery of the second unencrypted object to a second end-user system.
18. The memory device having instructions for protecting content within the CDN as recited in claim 17, wherein:
- the second edge server is part of the first POP; and
- the second key database is part of the first POP.
19. The memory device having instructions for protecting content within the CDN as recited in claim 17, wherein:
- the second edge server is part of a second POP of the plurality of POPs; and
- the second key database is part of the second POP.
20. The memory device having instructions for protecting content within the CDN as recited in claim 17, wherein:
- the first request includes a URI specifying the content object; and
- the first key is located by analyzing the URI.
21. The memory device having instructions for protecting content within the CDN as recited in claim 20, wherein the instructions further cause the one or more processors to watermark the first unencrypted object and/or the second unencrypted object with a fingerprint that allows determination of an IP address that the URI was requested from.
Type: Application
Filed: Mar 17, 2014
Publication Date: Oct 9, 2014
Inventors: Peter Coppola (San Diego, CA), William P. White (Tempe, AZ), Tamara Monson (Scottsdale, AZ)
Application Number: 14/216,422
International Classification: G06F 21/62 (20060101);