Patent ID: 8726341

Claim:
An apparatus comprising: a memory operable to: store a plurality of token-based rules, wherein a token-based rule facilitates access to a resource; and store a plurality of resource tokens associated with the resource; and a processor communicatively coupled to the memory and operable to: receive a first resource token indicating that access to the resource has been requested; determine, based at least in part upon the first resource token, at least one token-based rule from the plurality of token-based rules, wherein: the at least one token-based rule associates a first access value with at least one resource token, wherein the at least one resource token indicates at least one of: that the resource is associated with a trusted platform module security device; and that the resource is associated with a virtual private network; the first access value indicates the risk associated with granting access to the resource; and the at least one token-based rule specifies at least one condition under which access to the resource should be granted, the first access value associated with the at least one condition; determine that the at least one resource token associated with the first access value is included in the plurality of resource tokens; determine, based at least in part upon the at least one token-based rule, a second access value associated with the at least one resource token in response to the determination that the plurality of resource tokens comprises the at least one resource token, wherein the second access value indicates a chance that at least one of that access is granted to an unrequested resource and that the resource corrupts the device; determine, based at least upon the at least one token-based rule, that the second access value is insufficient to grant access to the resource by comparing the second access value with the first access value; determine, in response to the determination that the value of the second, access value is insufficient to grant access to the resource, that access to the resource should be denied; communicate a first decision token indicating that access by at least one of the user and the device to the resource should be denied; receive an updated resource token; redetermine the second access value based at least in part upon the updated resource token; determine, based at least in part upon the at least one token-based rule, that the redetermined second access value is sufficient to grant access to the resource by comparing the redetermined second access value with the first access value; and communicate a second decision token indicating that access by at least one of the user and the device to the resource should be granted.