摘要 |
Various embodiments of the present invention relate to a method which is performed in an electronic device and can allow one user ID to have access to a module, to which access has been requested, partially based on an access policy and user information even when the one user ID is different from that of the current user of an operating system (OS). The method may comprise the operations of: executing an OS in a first state in which a first application program is capable of using at least one hardware component and/or at least one software module by default; allowing a second application program to use the at least one hardware component and/or the at least one software module in the first state of the OS in response to input in which a function of the second application program, which is configured to be executed in a second state different from the first state, is requested; and prohibiting a third application program from using the at least one hardware component and/or the at least one software module in the first state of the OS in response to input in which a function of the third application program, which is configured to be executed in a third state different from the first state, is requested. Additionally, other embodiments recognized from the specification are possible. |