Security management method and security management device in home network system

The present invention is capable of managing security by using a device token which is used independently of a server so as to solve a problem occurring in the case of a leakage of user account information and is issued by a home device so as to enable device authentication when a smart phone controls the home device. The present invention using the device token can solve a problem where state information of a home device is exposed by other users or the home device is controlled by the other user, even though user account information has been leaked.