A method for controlling an execution of a software application on an execution platform in a first local network, comprising the steps of: a) determining a first environment fingerprint including a first network fingerprint of the first local network, wherein predetermined rules and at least two devices (9, 10) relating to the first local network are used, said first network fingerprint including a user identifier and a password or unique information stored in a directory relating to the first local network, said first network fingerprint being characteristic for the first local network and being possibly used to distinguish the first local network from other local networks, b) generating a license including said first environment fingerprint, said license defining terms of allowed execution of the software application on an execution platform in the first local network, and c) controlling the execution by: - determining a second environment fingerprint including a second network fingerprint of the local network by using said predetermined rules, - comparing the second environment fingerprint with the first environment fingerprint of the license, and - allowing the execution of the software application according to the terms of the license in case of the second environment fingerprint complies with the first environment fingerprint, and preventing the execution of the software application in case of the second environment fingerprint does not comply with the first environment fingerprint, and characterized in that, to carry out the step c), the compliance of the two environment fingerprints is considered as being present if a predetermined partial compliance of the two environment fingerprints is present. a) determining a first environment fingerprint including a first network fingerprint of the first local network, wherein predetermined rules and at least two devices (9, 10) relating to the first local network are used, said first network fingerprint including a user identifier and a password or unique information stored in a directory relating to the first local network, said first network fingerprint being characteristic for the first local network and being possibly used to distinguish the first local network from other local networks, b) generating a license including said first environment fingerprint, said license defining terms of allowed execution of the software application on an execution platform in the first local network, and c) controlling the execution by: - determining a second environment fingerprint including a second network fingerprint of the local network by using said predetermined rules, - comparing the second environment fingerprint with the first environment fingerprint of the license, and - allowing the execution of the software application according to the terms of the license in case of the second environment fingerprint complies with the first environment fingerprint, and preventing the execution of the software application in case of the second environment fingerprint does not comply with the first environment fingerprint, and characterized in that, to carry out the step c), the compliance of the two environment fingerprints is considered as being present if a predetermined partial compliance of the two environment fingerprints is present. - determining a second environment fingerprint including a second network fingerprint of the local network by using said predetermined rules, - comparing the second environment fingerprint with the first environment fingerprint of the license, and - allowing the execution of the software application according to the terms of the license in case of the second environment fingerprint complies with the first environment fingerprint, and preventing the execution of the software application in case of the second environment fingerprint does not comply with the first environment fingerprint, and characterized in that, to carry out the step c), the compliance of the two environment fingerprints is considered as being present if a predetermined partial compliance of the two environment fingerprints is present.