An apparatus that supports WiFi Direct, the apparatus comprising: a user interface unit operable to receive a command from a user; a WiFi-Direct connection unit operable to perform WiFi-Direct connection with an external wireless terminal; and an Internet connection unit operable to perform connection to the Internet;a soft access point AP module operable to allow the apparatus to operate as an AP in WiFi-Direct connection with the wireless terminal; and a dynamic host configuration protocol DHCP server module operable to allocate a network address to the wireless terminal if the apparatus operates as an AP; a control unit, the control unit operable to receive, after the WiFi-Direct connection with the wireless terminal has been established, a request to perform Internet access through the apparatus from the wireless terminal, characterized in that the apparatus is an image forming apparatus and further comprises: an image forming operation execution unit operable to perform an image forming operation under control of the control unit; the control unit operable to determine, in response to receiving the request to perform Internet access, whether to permit or prohibit Internet access of the WiFi-Direct connected wireless terminal, and further operable to permit or prohibit Internet access of the WiFi-Direct connected wireless terminal by using the Internet connection unit according to a result of the determination. a user interface unit operable to receive a command from a user; a WiFi-Direct connection unit operable to perform WiFi-Direct connection with an external wireless terminal; and an Internet connection unit operable to perform connection to the Internet;a soft access point AP module operable to allow the apparatus to operate as an AP in WiFi-Direct connection with the wireless terminal; and a dynamic host configuration protocol DHCP server module operable to allocate a network address to the wireless terminal if the apparatus operates as an AP; a control unit, the control unit operable to receive, after the WiFi-Direct connection with the wireless terminal has been established, a request to perform Internet access through the apparatus from the wireless terminal, characterized in that the apparatus is an image forming apparatus and further comprises: an image forming operation execution unit operable to perform an image forming operation under control of the control unit; the control unit operable to determine, in response to receiving the request to perform Internet access, whether to permit or prohibit Internet access of the WiFi-Direct connected wireless terminal, and further operable to permit or prohibit Internet access of the WiFi-Direct connected wireless terminal by using the Internet connection unit according to a result of the determination. an image forming operation execution unit operable to perform an image forming operation under control of the control unit; the control unit operable to determine, in response to receiving the request to perform Internet access, whether to permit or prohibit Internet access of the WiFi-Direct connected wireless terminal, and further operable to permit or prohibit Internet access of the WiFi-Direct connected wireless terminal by using the Internet connection unit according to a result of the determination.