1. A method for controlling access to a resource of an application in a data-processing device, comprising the steps: registering an access interface of an access-management component at the data-processing device; requesting access to the access interface of the access-management component at the data-processing device by a first software program; registering a resource of the first software program at the access-management component; actuating a second software program by a user who requests access to the resource of the first software program; sending an access-authorization query of the first software program about the user to the access-management component; and given authorization of the user, granting access to the resource of the first software program by the second software program.