A method and system for managing the state of a protected resource in a
system for granting access to a protected resource in accordance with
usage rights. The usage rights include at least one state variable
indicating a status of an associated protected resource. A message
related to the state variable is transmitted from a resource control
device to an interface framework. The resource control device is coupled
to the resource to control use of the resource by enforcing the usage
right. A state controller operative to track the value of the state
variable is loaded into the framework and instructed to manipulate the
value of the state variable in accordance with said message. For example,
the message can be a query of the current value of the state variable.