1. A program execution device that acquires and executes a program attached with access permission information indicating an access right to a resource during execution of the program, the program execution device comprising: a permission information setting unit operable to set, according to an acquisition route of the program, first permission information included in the access permission information or second permission information that differs from the first permission information; and an execution unit operable to execute the program in accordance with the first permission information or the second permission information set by the permission information setting unit.