A method of constructing a unique domain for preventing content from being
illegally used by an unauthorized third person in a public key-based
architecture and applying the constructed domain to a home network using
universal plug and play (UPnP). The method of the present invention
includes selecting one of controlled devices that are operable as a
master device and determining the selected device as the master device;
performing device authentication in such a manner that other controlled
devices receive a secret information block from the determined master
device and create certificates; and determining slave devices by
selecting one or more devices among the authenticated controlled devices.