Patent ID: 8799638

Claim:
A communication system comprising a first communication device and a second communication device connected through a network, the first communication device and the second communication device performing a communication process on the basis of a security policy set for each device, wherein the first communication device includes a security policy storing unit that is able to store a first security policy including an encryption method and an encryption key applied to predetermined communication with a predetermined communication device in a predetermined communication target range and a second security policy including an encryption method and an encryption key applied to all communication to which the first security policy in the communication target range is not applied, the second security policy being set by a user and inputted via an input unit of the first communication device, a first communication unit that performs communication of a communication packet with other communication devices through the network, and a first encryption processing unit that performs an encryption process on the transmitted communication packet and a decryption process of the received communication packet according to the second security policy when it is determined that the first security policy does not apply to other communication devices, and wherein the second communication device includes a first encryption key receiving unit that receives an input of the encryption key stored in the second security policy of the first communication device, the first encryption key being inputted via an input of the second communication device, a policy generating unit that generates a third security policy including the encryption method of the second security policy and the input encryption key, a second encryption processing unit that performs an encryption process on the communication packet transmitted to the first communication device and a decryption process of the communication packet received from the first communication device according to the third security policy, and a second communication unit that performs communication of the communication packet with the first communication device through the network.