An electronic apparatus configured to be operated in a host execution environment based on an operating system, OS, comprising: a storage configured to store the OS, a virtual device program capable of generating a plurality of virtual devices that are executable based on the OS, and a plurality of programs , wherein each of the virtual devices is isolated from one another and configured so that each virtual device is not allowed to access the host execution environment and not allowed to access any of the other virtual devices ; and a processor configured to: execute the virtual device program to generate at least one virtual device; and in response to an attempt by a first program among the plurality of programs to access data about the virtual device, determine whether the first program has an administration authority assigned by the OS in the host execution environment, in response to the determination that the first program has the administration authority, execute the OS to determine whether the first program has an authentication code included in a source code of the first program , representing that the first program is authorised to access the data about the virtual device , and based on the authentication code of the first program , permit access of the first program to the data about the virtual device. a storage configured to store the OS, a virtual device program capable of generating a plurality of virtual devices that are executable based on the OS, and a plurality of programs , wherein each of the virtual devices is isolated from one another and configured so that each virtual device is not allowed to access the host execution environment and not allowed to access any of the other virtual devices ; and a processor configured to: execute the virtual device program to generate at least one virtual device; and in response to an attempt by a first program among the plurality of programs to access data about the virtual device, determine whether the first program has an administration authority assigned by the OS in the host execution environment, in response to the determination that the first program has the administration authority, execute the OS to determine whether the first program has an authentication code included in a source code of the first program , representing that the first program is authorised to access the data about the virtual device , and based on the authentication code of the first program , permit access of the first program to the data about the virtual device. execute the virtual device program to generate at least one virtual device; and in response to an attempt by a first program among the plurality of programs to access data about the virtual device, determine whether the first program has an administration authority assigned by the OS in the host execution environment, in response to the determination that the first program has the administration authority, execute the OS to determine whether the first program has an authentication code included in a source code of the first program , representing that the first program is authorised to access the data about the virtual device , and based on the authentication code of the first program , permit access of the first program to the data about the virtual device. <EOS>