Disclosed are novel methods and apparatus for providing a permissions manager
capable of assisting an applet, for example, in determination and/or grant of the
permissions required for an operation. In an embodiment, an apparatus for managing
permissions is disclosed. The apparatus includes a software application, a permissions
manager coupled to the software application and receiving a request sent by the
software application, and a programming environment coupled to the permissions
manager. The request may indicate a permission, which may be requested by the permissions
manager. The permissions manager may access the programming environment to determine
a required permission corresponding to the permission and to determine how to grant
the required permission.