Most wireless routers provide the facility to restrict access to its network by WiFi enabled devices. A router identifies a WiFi enabled device by its WiFi adaptor MAC address. For the case of iPhone, the WiFi MAC address can be found by following the path Settings > General > About.