Patent ID: 8769610

Claim:
A method of managing resources in an ad hoc peer-to-peer network, comprising: establishing an ad-hoc peer-to-peer network for a plurality of devices comprising a first device that is associated with a first resource, wherein the first device is directly connected to a second device in the peer-to-peer network; granting the second device access to the first resource according to an access policy that specifies a set of rights for accessing the first resource; receiving a request for access to the first resource from a third device indirectly connected to the first device in the peer-to-peer network via the second device; determining an access policy for the third device for accessing the first resource based on the access policy granted to the second device, the access policy determined for the third device specifying a subset of the set of rights specified by the access policy granted to the second device; and providing the third device access to the first resource according to the determined access policy.