An electronic device comprising: a first communication interface; a second communication interface; a memory storing at least one instruction; and a processor configured to execute the at least one instruction to: receive a user command to access a website, characterized in that the processor is configured to: based on the received user command, obtain, from a server providing the website through a first channel that is established through the first communication interface, first information related to an address of the website, and obtain, from the server providing the website through a second channel that is established through the second communication interface, second information related to the address of the website, based on the first information and the second information being identical, maintain communication with the server through the first channel, and based on the first information and the second information being different, terminate the communication with the server through the first channel or communicate with the server through the first channel according to the second information. a first communication interface; a second communication interface; a memory storing at least one instruction; and a processor configured to execute the at least one instruction to: receive a user command to access a website, characterized in that the processor is configured to: based on the received user command, obtain, from a server providing the website through a first channel that is established through the first communication interface, first information related to an address of the website, and obtain, from the server providing the website through a second channel that is established through the second communication interface, second information related to the address of the website, based on the first information and the second information being identical, maintain communication with the server through the first channel, and based on the first information and the second information being different, terminate the communication with the server through the first channel or communicate with the server through the first channel according to the second information. receive a user command to access a website, characterized in that the processor is configured to: based on the received user command, obtain, from a server providing the website through a first channel that is established through the first communication interface, first information related to an address of the website, and obtain, from the server providing the website through a second channel that is established through the second communication interface, second information related to the address of the website, based on the first information and the second information being identical, maintain communication with the server through the first channel, and based on the first information and the second information being different, terminate the communication with the server through the first channel or communicate with the server through the first channel according to the second information. based on the received user command, obtain, from a server providing the website through a first channel that is established through the first communication interface, first information related to an address of the website, and obtain, from the server providing the website through a second channel that is established through the second communication interface, second information related to the address of the website, based on the first information and the second information being identical, maintain communication with the server through the first channel, and based on the first information and the second information being different, terminate the communication with the server through the first channel or communicate with the server through the first channel according to the second information.