An electronic device for use in a system including a plurality of external devices, the electronic device comprising: a memory configured to store instructions; a communication circuitry; and a processor operably coupled to the communication circuitry, the processor configured to execute the stored instructions to: transmit, to an external device among the plurality of external devices, a first signal for requesting to access the external device, receive, from the external device, a second signal for requesting to provide a token stored in the electronic device, in response to the reception, transmit, to the external device, information on the token, wherein the token is generated based on at least part of a block chain that includes a plurality of blocks associated with a history for at least one access previous to the current access to the external device among the plurality of external devices, receive, from the external device, a third signal for indicating to allow the access of the electronic device, and access the external device based on at least part of the third signal for indicating to allow the access of the electronic device, wherein the processor is further configured to execute the stored instructions to: receive, from the external device, a fourth signal that comprises information to be added into at least another block on the block chain for another token to be generated by the electronic device, the information corresponding to at least one external device expected as to be accessed by the electronic device, and store the another token generated based on at least part of the information that is to be added into the at least another block. a memory configured to store instructions; a communication circuitry; and a processor operably coupled to the communication circuitry, the processor configured to execute the stored instructions to: transmit, to an external device among the plurality of external devices, a first signal for requesting to access the external device, receive, from the external device, a second signal for requesting to provide a token stored in the electronic device, in response to the reception, transmit, to the external device, information on the token, wherein the token is generated based on at least part of a block chain that includes a plurality of blocks associated with a history for at least one access previous to the current access to the external device among the plurality of external devices, receive, from the external device, a third signal for indicating to allow the access of the electronic device, and access the external device based on at least part of the third signal for indicating to allow the access of the electronic device, wherein the processor is further configured to execute the stored instructions to: receive, from the external device, a fourth signal that comprises information to be added into at least another block on the block chain for another token to be generated by the electronic device, the information corresponding to at least one external device expected as to be accessed by the electronic device, and store the another token generated based on at least part of the information that is to be added into the at least another block. transmit, to an external device among the plurality of external devices, a first signal for requesting to access the external device, receive, from the external device, a second signal for requesting to provide a token stored in the electronic device, in response to the reception, transmit, to the external device, information on the token, wherein the token is generated based on at least part of a block chain that includes a plurality of blocks associated with a history for at least one access previous to the current access to the external device among the plurality of external devices, receive, from the external device, a third signal for indicating to allow the access of the electronic device, and access the external device based on at least part of the third signal for indicating to allow the access of the electronic device, wherein the processor is further configured to execute the stored instructions to: receive, from the external device, a fourth signal that comprises information to be added into at least another block on the block chain for another token to be generated by the electronic device, the information corresponding to at least one external device expected as to be accessed by the electronic device, and store the another token generated based on at least part of the information that is to be added into the at least another block. receive, from the external device, a fourth signal that comprises information to be added into at least another block on the block chain for another token to be generated by the electronic device, the information corresponding to at least one external device expected as to be accessed by the electronic device, and store the another token generated based on at least part of the information that is to be added into the at least another block.