Patent ID: 8086856

Claim:
A non-transitory computer readable storage medium containing a program which, when executed on a processor, performs an operation for validating a disablement code for disabling an on-demand resource on a computerized apparatus, the operation comprising: receiving the disablement code for disabling the on-demand resource, wherein the disablement code comprises encrypted data and wherein the on-demand resource is one of a processor, a memory and a hardware storage device; and validating the disablement code, the validating comprising: generating a first key using system information unique to the computerized apparatus; sending the encrypted data to a secure storage element containing a second key, wherein the secure storage element is configured to decrypt the encrypted data, to produce decrypted data, using the second key; generating a random value; encrypting the random value using the first key to produce an encrypted random value; sending the encrypted random value to the secure storage element, wherein the secure storage element is configured to decrypt the encrypted random value, using the decrypted data as a decryption key, to produce a decrypted random value; receiving the decrypted random value from the secure storage element; and comparing the value to the decrypted random value.