摘要 |
A method of generating, from an initial package file comprising an application to be secured and an initial configuration file, a package file for securing the application, the method comprising the following steps, implemented by an application for generating a package file or package files stored in said memory: extracting (70), from the initial package file, the application to be secured (34) and the initial configuration file, creating (75) a first configuration file from the initial configuration file, creating (80) an application for the dynamic creation of an execution environment of the application to be secured, suitable for implementing the loading of a security library, substituting, from a function call or function calls associated with said application to be secured, at least one call to an unsecured function with a call to a corresponding function of the security library, and launching the application to be secured after said substitution, and encapsulating (85) the first configuration file and the application to be secured in a first package file, the application for the dynamic creation of the execution environment being encapsulated in the first package file or indeed (80) in a second package file with a second configuration file. |