1. A method of controlling an information processing system, the method comprising: generating, by a first apparatus, association information indicating permission of access to at least one of a specific access destination and a specific device, the access to be requested when a specific code among a plurality of codes of an application program is executed; and sending, by the first apparatus, the application program and the association information to a second apparatus configured to execute the application program; executing, by the second apparatus, the application program; and restricting, by the second apparatus, another access different from the access based the association information generated by the first apparatus when the another access is requested due to the execution of the plurality of codes of the application program.