Patent ID: 7818798

Claim:
A computer-readable medium having computer-executable components comprising: a) a plurality of objects, each object comprising a method; b) an interface component adapted to: i) receive a call to a called method in any of the plurality of objects, ii) perform processing in response to receiving the call; and iii) call the called method, wherein the interface component is adapted to: i) perform processing that determines whether the called method has been called, either directly or indirectly, from un-trusted code; and ii) if the called method has been called from un-trusted code, perform processing that determines whether the called method has been deemed suitable for execution by un-trusted code; and iii) selectively allow the call to the called method based on results of the processing; wherein: the method comprises a method of a plurality of methods; the computer-readable medium comprises information associated with each of the plurality of methods indicating whether each of the plurality of methods has been deemed suitable for execution by un-trusted code; and performing processing that determines whether the called method has been deemed suitable comprises accessing the information associated with the called method.