Registration of peer-to-peer services

Information

  • Patent Application
  • 20070226338
  • Publication Number
    20070226338
  • Date Filed
    March 23, 2006
    18 years ago
  • Date Published
    September 27, 2007
    17 years ago
Abstract
Techniques for registration of peer-to-peer (P2P) services are provided. A first principal registers a P2P service with a network service provider. The first principal supplies a criterion for granting access to the P2P service. The network service provider distributes an access token to a second principal if the criterion is met. The second principal connects to the P2P service of the first principal via a P2P connection if the second principal successfully acquires the access token from the network service provider.
Description
FIELD

The invention relates generally to security and more particularly to techniques for registering for peer-to-peer (P2P) services.


BACKGROUND

Several years ago, online access to music was made popular and famous by the Napster® service. Essentially, Internet users identified one another using Napster® and identified songs that each user possessed. Next, a particular user's client machine would connect to another user's client machine directly in a peer-to-peer (P2P) fashion and the desired song was downloaded or shared between the users. The Napster® service brought to the attention of the general public the benefits and potential problems associated with P2P technology; although P2P technology existed prior to Napster®.


There is, of course, a variety of lawful and useful benefits to P2P technology. For example, with P2P technology users can directly connect to one another and share information, applications, share services, talk to one another, and/or video conference with one another. P2P technology has also been used to decrease bandwidth requirements needed to distribute popular media. That is, users can willingly or unwillingly facilitate the P2P delivery of media through their clients or devices. A disperse and cooperating network of clients, such as this, can rapidly and efficiently distribute media over the Internet and alleviate the bandwidth bottleneck associated with a single and central media distribution server.


One problem area with P2P technology is the security concern that information or media will be unlawfully appropriated from a user or that an unsuspecting client of a user may unwillingly participate in such a scenario. Generally, individuals like the idea of sharing information with others that are geographically dispersed but dislike and are concerned with the idea that their information or devices may be unlawfully accessed.


One example may be an employee of one organization who may want to share calendaring information with an employee of another organization. If a service (such as the calendar service in the present example) is enabled for P2P operation, a sharing user may not have the ability to limit access to the P2P service to a particular user. So, in the present example, the employee whose calendar is being shared may only be able to share his/her calendar service with all employees of the other organization or domain; although the employee may only want to share his calendar with a particular employee of the other organization.


Consequently, a P2P enabled service is typically enabled for a whole domain and is not capable of being limited to a particular user or a particular group of users. This creates a fairly significant security hole for P2P enabled services. As a result, users are either forced to expose P2P enabled services to individuals or groups that they do not want to access their services or they elect to not provide any P2P enabled services.


Therefore, there is a need for techniques that permit P2P services to be more securely and selectively enabled and distributed over a P2P network.


SUMMARY

In various embodiments, techniques for registering of peer-to-peer (P2P) services are presented. More specifically, and in an embodiment, a method for registering a P2P service is provided. A registration for a peer-to-peer (P2P) service is received and processed from a first principal. The registration includes a criterion for accessing the P2P service. Next, a second principal is evaluated to determine if the second principal conforms to the criterion, and in response thereto an access token is supplied to the second principal for purposes of securely accessing the P2P service of the first principal over a P2P network connection.




BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a diagram of a method for registering a peer-to-peer (P2P) service, according to an example embodiment.



FIG. 2 is a diagram of method for processing a registered P2P service, according to an example embodiment.



FIG. 3 is a diagram of a P2P registration system, according to an example embodiment.



FIG. 4 is a diagram of another P2P registration system, according to an example embodiment.




DETAILED DESCRIPTION

A “resource” includes a user, service, system, device, directory, data store, user, groups of users, combinations of these things, etc. A “principal” is a specific type of resource, such as an automated service or user that acquires an identity. A designation as to what is a resource and what is a principal can change depending upon the context of any given network transaction. Thus, if one resource attempts to access another resource, the actor of the transaction may be viewed as a principal.


Another type of resource discussed herein is an identity service. The identity service can perform a variety of beneficial functions. Some example identity services may be found at U.S. patent Ser. No. 10/765,523 entitled “Techniques for Dynamically Establishing and Managing Authentication and Trust Relationships;” at U.S. patent Ser. No. 10/767,884 entitled “Techniques for Establishing and Managing a Distributed Credential Store;” and at U.S. patent Ser. No. 10/770,677 entitled “Techniques for Dynamically Establishing and Managing Trust Relationships.” All of these are incorporated herein by reference.


The network service provider discussed herein and below may be implemented as enhancements to these existing identity services with yet more beneficial features that provide secure registration of P2P services. This will be discussed in greater detail below.


Various embodiments of this invention can be implemented in existing network architectures. For example, in some embodiments, the techniques presented herein are implemented in whole or in part in the Novell® network and proxy server products, email products, identity service products, operating system products, and/or directory services products distributed by Novell®, Inc., of Provo, Utah.


Of course, the embodiments of the invention can be implemented in a variety of architectural platforms, operating and server systems, or applications. Any particular architectural layout or implementation presented herein is provided for purposes of illustration and comprehension only and is not intended to limit aspects of the invention.



FIG. 1 is a diagram of a method 100 for registering a peer-to-peer (P2P) service, according to an example embodiment. The method 100 (hereinafter “registration service”) is implemented in a machine-accessible and readable medium. The registration service is operational over and processes within a network. The network may be wired, wireless, or a combination of wired and wireless.


Initially, a first principal desires to register a particular P2P service. For example, a first principal may be a user and the P2P service may be a GroupWise® calendaring operation, distributed by Novell, Inc. of Provo, Utah.


The purpose of the registration is to define specifically what other principals or single principal may communicate with the registered P2P service using P2P communications. Conventionally, P2P services are enabled or disabled for whole domains and cannot be selectively enabled for operation based on a registration that defines such access.


The registration service processes as an enhancement within or as an external service to a network service provider. The network service provider may be viewed as identity services (enhanced and described above), an Internet Service Providers (ISP's), etc. for the target principal(s) who are to be granted access to the first principal's P2P service during the registration process.


With this context, the processing of the registration service is now described in greater detail with reference to FIG. 1. Accordingly, at 110, the registration service receives a registration for a P2P service of a first principal. The registration includes a criterion or a variety of criteria. So, the criterion may be an identifier that identifies a second principal. Alternatively, the criterion may be more complex and include attributes or conditions that define selective groupings of second principals or that describe situations or attributes that any second principal has to possess in order to be considered a valid second principal for purposes of accessing the first principal's P2P service. In an embodiment, the criterion may be viewed as a policy that is supplied by the first principal and enforced by the registration service to determine which second principals are to be granted access to the first principal's P2P service. The criterion or criteria may be any set of conditions or identifiers that may be evaluated or inspected by the registration service to determine what second principals are to be granted access to the P2P service, which is being registered.


According to an embodiment, at 111, the interactions with the first principal may have occurred within the context of the first principal authenticating to the registration service. This can occur via a single sign-on. For example, suppose the first principal is associated with a different network service provider or identity service and is actively logged into that different identity service when the first principal contacts the registration service to register the P2P service. Suppose further that the different identity service is trusted by and in secure communications with the registration service or the identity service of the registration service. In this scenario, the first principal's identity service may provide an assertion to the registration service that the first principal is who he/she purports to be and has been authenticated to the first principal's identity service. In this manner, the first principal may have logged into its own network service provider and securely be considered logged into the network service provider associated with the registration service.


In an embodiment, at 112, the registration service may similarly enforce authentication of the second principal's that desire to use the first principal's P2P service. Thus, not just any second principal can assert to be a valid second principal authorized to access the first principal's P2P service, because the registration service may enforce authentication mechanisms on the second principals before processing any request to access the first principal's P2P service.


At 120, the registration service determines that there is a second principal or set of second principals that conform to the criterion defined by the first principal in the registration of the P2P service.


As was discussed before, this determination can occur in a variety of manners some may be straightforward, such as when, at 121, the registration service recognizes an identifier with registration (via the criterion) that identifies the second principal. It may also occur in a more complex or dynamic manner, at 122, where attributes or values for attributes that are defined in the criterion are dynamically resolved by the registration service to determine if the second principal possesses the proper values for the attributes to access the P2P service.


Attributes may include a variety of information that may be manually supplied by a second principal or automatically acquired from the second principal. Additionally, attributes may include environmental information, temporal information, configuration information, profile information, network service provider information, role-based information, and the like. Attribute values may also include ranges, such as time range values between the times of 10:00 am and 6:00 pm. The attributes may be static (constants recorded in a data repository) and/or dynamic (resolved based on state at the time of a request for P2P access).


At 130, the registration service supplies a token to the second principal to access the P2P service assuming that the second principal successfully conformed to the criterion defined in the registration.


According to an embodiment, at 131, the registration service may also embed dynamic constraints in the token. These dynamic constraints may be dynamically and in real time evaluated by the P2P service itself when the second principal attempts to access the P2P service. So, the attributes or constraints may be evaluated by the registration service and also evaluated a second time by the P2P service itself. Furthermore, the second evaluation may include the same or different constraints or attributes from that which was included in the first evaluation. This situation may prevent a second principal from having a token stolen or a token distributed in an authorized fashion by the second principal to a different principal, since the P2P service is in a position to re-evaluate the constraints when access is attempted to the P2P service.


In an embodiment, at 132, the registration service may represent the token as an assertion. This assertion may be subsequently relied upon by the P2P service when it is presented to the P2P service by the second principal in an attempt to gain access.


Once a second principal has a valid token, that token may be presented to the P2P service of the first principal and a valid P2P connection or communication may be established.


So, in the initial example above where the P2P service is a calendaring service, consider the following scenario to further illustrate operation of the registration service. Cameron is a first principal associated with a domain of and network service provider of Novell®, Inc., of Provo, Utah (domain name “novell.com”). Joe is a second principal associated with a domain and network service provider of Road Runner® (domain name “rr.com”). Cameron logs into novell.com and contacts the registration service to register his GroupWise® calendaring service; during registration Cameron includes a criterion that identifies Joe as joe@rr.com. Next, Joe logs into rr.com and is supplied a token or key to access the calendaring service, since Joe's email (identifier) is Joe@rr.com. Joe then accesses his own version of GroupWise® and attempts to read Cameron's calendar for purposes of setting up a meeting between the two. Joe's GroupWise® calendaring service attempts to establish a P2P connection with Cameron's GroupWise® calendaring service and presents the key. Cameron's GroupWise® calendaring service identifies the key and sets up the P2P connection between the two services. Cameron provided selective access to his P2P service (GroupWise®) to just Joe and did not have to make it accessible to all users of the rr.com domain; this was achieved via the novel processing of the registration service described above.



FIG. 2 is a diagram of method 200 for processing a registered P2P service, according to an example embodiment. The method 200 (hereinafter “registered P2P service” is implemented in a machine-accessible and readable medium and is operational over a network. The network may be wired, wireless, or a combination of wired and wireless. In an embodiment, the registered P2P service represents the processing of the P2P service that is registered by the registration service represented by the method 100 of the FIG. 1. It is noted that the registered P2P service may be any modified P2P enabled service that includes the enhanced processing presented herein and below.


At 210, the registered P2P service receives an access request from a first principal over a P2P connection. The registered P2P service was previously registered via interactions with the registration service described as the method 100 and depicted in the FIG. 1. The registered P2P service is associated with a particular principal or group of principals.


At 220, the registered P2P service inspects the access request to determine if an access token is present with the request. The access token may be included with the request or may be acquired or derived from the request.


If the token is present, then at least an initial hurdle is satisfied with respect to the first principal that is requesting access to the registered P2P service. With respect to the discussion of FIG. 2, the first principal is associated with the requesting principal that desires to access the registered P2P service. Notice that this is reversed from the discussion of FIG. 1 and that the designation of first and second is relative and depends upon the context of any given transaction.


At 230, the mere presence of the token is sufficient to permit access to the registered P2P service. However, in some cases, at 240, the access to the registered P2P service may be dynamically terminated if attributes are not verified to provide certification of the first principal. That is, the token may define attributes that the registered P2P service dynamically resolves values for when access is attempted and if satisfied the registered P2P service certifies the first principal for access. Under some conditions, at 250, the certification of the first principal's access to the registered P2P service may be dynamically terminated if the attributes change or are not capable of being satisfactorily resolved.


According to an embodiment, at 260, the registered P2P service may recognize the access token as an assertion from an identity service or network service provider. So, a trusted identity service may assert that the first principal is authorized to access the registered P2P service in a P2P connection and the registered P2P service relies on this assertion based on its relationship with the identity service.


In still another embodiment, at 270, the registered P2P service may terminate P2P access if the first principal violates a defined policy. The policy may actually be dynamically identified as a component of the access token, as depicted at 271. At 272, the registered P2P service alternatively identifies the policy from a policy store using an identifier for the first principal to locate the proper policy from the policy store. The policy provides a mechanism by which the registered P2P service can constrain or self police access occurring via the first principal. Policies may be dynamically defined and evaluated or may be statically defined and dynamically evaluated.


The register service represented by the method 100 of the FIG. 1 describes how a P2P service may be registered to selectively control access to the P2P service. The registered P2P service of the FIG. 2 represents a wrapper or initial processing associated with a modified or enhanced P2P service. The wrapper enforces a token before permitting full access to the P2P service. Again, the processing of the registered P2P service may be embedded as an enhancement inside existing P2P enabled services or may be implemented as a separate wrapper that is invoked when the registered P2P service is initially called or connected to over a P2P connection.



FIG. 3 is a diagram of a P2P registration system 300, according to an example embodiment. The P2P registration system 300 is implemented in a machine-accessible and readable medium and is operational over a network. The network may be wired, wireless, or a combination of wired and wireless. In an embodiment, the P2P registration system 300 implements, among other things, the processing depicted with the methods 100 and 200 of the FIGS. 1 and 2.


The P2P registration system 300 includes a P2P service 301A and a network service provider 302. Each of these components and their interactions with one another will now be discussed in detail.


The P2P service 301A is a P2P enabled service over a network that has its access restricted based on prior established registration. An example of a modified P2P service 301A to facilitate selective P2P connectivity was presented above with respect to the method 200 of the FIG. 2. The P2P service 301A includes two portions.


A first portion enforces access based on the presence of a token and/or dynamic confirmation of constraints or attributes possessed by a requestor (principal). The second portion is any intended service that is the core of the P2P service. So, if the P2P service 301A is calendaring services (as in the continuing example) then the second portion are the features and functions, which are available within that calendaring service. It is noted that there is no limitation as to what the second portion may be, it is constrained only by what service is desired to be made P2P compatible. Thus, it is the first portion that is a novel enhancement and that facilitates selective access to the second portion (legacy portion). Again, the first portion may be implemented as part of the second portion (integrated therewith) or it may be entirely separated from the second portion and implemented as a wrapper or script invoked when access is attempted to the second portion a first time.


The network service provider 302 manages access registrations made by first principals 303 to the P2P service 301A and distributes access tokens to second principal(s) 301B that satisfy criterion or attribute conditions defined by the registration performed by the first principals 303. Examples of the processing and interactions of the network service provider 302 vis-a-vis the first principals 303 and the second principals 301B were presented above with respect to the method 100 of the FIG. 1 and described in terms of a P2P registration service.


The P2P registration system 300 also depicts a second P2P service 301C. This second P2P service 301C is the actual service that connects directly with the P2P service 301A in a P2P connection 301D. The two services 301A and 301C are P2P enabled. It is the initial P2P connection 301D that is selectively regulated by the processing of the P2P registration system 300, such that an access token is used by the P2P service 301A during initial communications between the P2P service 301A and the second P2P service 301C to determine if the P2P connection 301D may be continued and established for the first principal 303 and the second principal 301B associated with the second P2P service 301C.


In an embodiment, the network service provider 302 authenticates the second principals 301B for access to the network service provider 302 before any determination is made as to whether the second principals 301B are to receive or not to receive access tokens defined during a registration process of the P2P service 301A via interactions with a first principal 303.


According to an embodiment, during registration the first principal 303 may define the criterion for accessing the P2P service 301A by means of a list of identifiers. The identifiers are uniquely associated with the second principals 301B. In other cases or in complimentary cases, the first principal 303 may supply a list of attributes or other constraints during registration with the network service provider 302. During operation the network service provider 302 dynamically determines if the second principals 301B have the attributes before distributing the access tokens.


The P2P service 301A processes on a client or within a local environment on machines or devices associated with the first principal 303. Similarly, the second P2P service 301C processes on a client or within a local environment on machines or devices associated with the second principal 301B. The second principal 301B attempts to access the P2P service 301A in a P2P connection 301D via its P2P service 301C by supplying the access token acquired from the network service provider 302.



FIG. 4 is a diagram of another P2P registration system 400, according to an example embodiment. The P2P registration system 400 is implemented in a machine-accessible and readable medium and is accessible over a network. The network may be wired, wireless, or a combination of wired and wireless. The processing of the P2P registration system reflects the processing of two P2P services that interact over via a P2P connection with one another in a secure fashion.


The P2P registration system 400 includes a first P2P service 401A and a second P2P service 402A. Each of these services 401A-401B and their interactions with one another will now be discussed in great detail.


The P2P registration system 400 reflects the perspective of two P2P services that interact in a selective manner, which is independent of domains associated with those two P2P service. Thus, the P2P registration system 400 may be viewed as the interactions occurring between the first principal's 303 P2P service 301A and the second principal's 301B P2P service 301C depicted with the P2P registration system 300 of the FIG. 3.


The first P2P service 401A is registered by a first principal. The first principal is associated with a first network service provider 401B. The first network service provider 401B is in a trusted relationship with a second network service provider 402B. The first principal signs into the first network service provider 401B and obtains authentication and sign in status with the second network service provider by means of the trust relationship between the first network service provider 401B and the second network service provider 402B.


The first principal proceeds to interact with the second network service provider 402B in the manners described above with respect to the FIGS. 1 and 3 for purposes of registering the first P2P service 401A and defining access criterion or criteria. A second principal then authenticates to its network service provider (network service provider 402B) and is supplied an access token if the second principal conforms to the criterion or criteria.


Once an access token is acquired, the second P2P service 402A establishes a P2P connection 403 with the first P2P service 401A by presenting the access token. The processing of the first P2P service 401A is defined above with respect to the FIGS. 2 and 3. If conditions are met with the access token, then the P2P connection 403 established and may continue unabated in the absence of some terminating event or condition.


One now appreciates how P2P connections and P2P enabled services may be selectively established and managed in a secure manner across multiple domains. Such has not been the case, where P2P access was largely controllable on a coarse-grain level and not at a fine-grain level, which has been presented herein.


It should also be noted that although the P2P interactions were discussed in terms of a first principal, such as a user, and a second principal, such as another user, that the P2P services may actually run on a different machine as a proxy for a particular principal. So, the P2P occurs between a proxy (a first principal) and another principal. In this case, three parties may be involved and the P2P occurs with a proxy (first party) or another service (first party) that acts on behalf of a user (second party) to interact with another service (third party).


The above description is illustrative, and not restrictive. Many other embodiments will be apparent to those of skill in the art upon reviewing the above description. The scope of embodiments should therefore be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled.


The Abstract is provided to comply with 37 C.F.R. §1.72(b) and will allow the reader to quickly ascertain the nature and gist of the technical disclosure. It is submitted with the understanding that it will not be used to interpret or limit the scope or meaning of the claims.


In the foregoing description of the embodiments, various features are grouped together in a single embodiment for the purpose of streamlining the disclosure. This method of disclosure is not to be interpreted as reflecting that the claimed embodiments have more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive subject matter lies in less than all features of a single disclosed embodiment. Thus the following claims are hereby incorporated into the Description of the Embodiments, with each claim standing on its own as a separate exemplary embodiment.

Claims
  • 1. A method, comprising: processing a registration for a peer-to-peer (P2P) service from a first principal, wherein the registration includes a criterion for accessing the P2P service; and determining that a second principal conforms to the criterion and in response thereto supplying an access token to the second principal for securely accessing the P2P service of the first principal over a P2P network connection.
  • 2. The method of claim 1, wherein determining further includes recognizing an identifier that specifically references the second principal within the criterion.
  • 3. The method of claim 1, wherein determining further includes recognizing attributes in the criterion that are possessed or provided by the second principal.
  • 4. The method of claim 1 further comprising, authenticating the second principal before determining that the second principal conforms to the criterion.
  • 5. The method of claim 1 further comprising, embedding dynamic constraints in the token supplied to the second principal, wherein the dynamic constraints are evaluated by the P2P service when the second principal attempts to access the P2P service.
  • 6. The method of claim 1 further comprising, representing the token as an assertion that is recognized and relied upon by the P2P service when presented by the second principal.
  • 7. The method of claim 1, wherein processing further includes authenticating the first principal for authority to register the P2P service in response to the first principal being recognized as having logged into and been authenticated with a different network service provider.
  • 8. A method, comprising: receiving an access request from a first principal over a peer-to-peer (P2P) network connection; inspecting the request to determine if an access token is present; and permitting P2P access to the first principal if the access token is present.
  • 9. The method of claim 8 further comprising, dynamically verifying attributes defined in the access token.
  • 10. The method of claim 9 further comprising, dynamically terminating P2P access if the attributes cannot be verified.
  • 11. The method of claim 8 further comprising, recognizing the access token as an assertion from a network provider service.
  • 12. The method of claim 8 further comprising, terminating P2P access if the first principal violates a policy.
  • 13. The method of claim 12 further comprising, identifying the policy as a component of the access token.
  • 14. The method of claim 12 further comprising, identifying the policy from a policy store in response to an identifier associated with the second principal.
  • 15. A system, comprising: a peer-to-peer (P2P) service; and a network service provider, wherein the network service provider is to manage a registration for the P2P service on behalf of a first principal and the network service provider is to selectively distribute an access token to a second principal for access to the P2P service.
  • 16. The system of claim 15, wherein the network service provider is to authenticate the second principal for access to the network service provider service.
  • 17. The system of claim 15, wherein the network service provider is to acquire a list of identifiers that identifies the second principal during the registration of the P2P service.
  • 18. The system of claim 15, wherein the network service provider is to acquire a list of attributes during the registration of the P2P service, and wherein the network service provider is to dynamically determine if the second principal has the attributes before distributing the access token.
  • 19. The system of claim 15, wherein the access token is used by another second version of the P2P service that is to process on a client of the second principal, the second version and the P2P service interact directly with one another over a P2P network.
  • 20. The system of claim 15, wherein the P2P service processes on a client of the first principal and is identified to the network service provider via the registration.
  • 21. A system, comprising: a first peer-to-peer (P2P) service; and a second P2P service, wherein the first P2P service processes on a first client of a first principal and is registered with a network service provider, and wherein a registration includes access limitations that are managed by the network service provider, and wherein the second P2P service processes on a second client of a second principal and is to gain P2P access to the first P2P service by acquiring an access token from the network service provider that conforms to the access limitations.
  • 22. The system of claim 21, wherein the access limitations are at least partially embedded in the access token and dynamically resolved by the first P2P service when the second P2P service attempts access to the first P2P service.
  • 23. The system of claim 21, wherein the access token is represented as a signed assertion from the network service provider that the second principal conforms to the access limitations and wherein the first P2P service relies on the signed assertion to provide access to the second P2P service.
  • 24. The system of claim 21, wherein the network service provider is to authenticate the second principal before determining if the second principal conforms to the access limitations.
  • 25. The system of claim 21, wherein the access token permits the second P2P service to access the first P2P service in a secure fashion that is authorized by the first principal, and wherein access is via a P2P network connection.
  • 26. The system of claim 21, wherein the first principal logs into the network service provider via a different network service provider associated with the first principal and trusted by the network service provider.