摘要 |
Protecting a module intended to be executed by an executing device (120) that has an operating system and that is either genuine or jailbroken. An application provider device obtains (S20) a first version of the module (320) intended to be executed on a genuine executing device, the first version implementing a first software protection technique allowed by the operating system on the genuine device, obtains (S22) a second version of the application (330) intended to be executed on a jailbroken device, the second version implementing a second software protection technique not allowed by the operating system on the genuine device, obtains (S24) a jailbreak detection function (310) configured to determine whether a device executing the jailbreak function (310) is genuine or jailbroken, and to call the first version of the module in case the executing device is genuine and call the second version of the module in case the executing device is jailbroken and generates (S25) an application package (300) including the jailbreak detection function (310), the first version of the module (320) and the second version of the module (330), and that is output (S26) by an interface (113). Also provided are the module provider device, the application package and a storage support (130) storing the application package. |