An information processing apparatus configured to communicate with an external device via a network, the information processing apparatus comprising: operation means; determination means configured to determine whether the external device is connected via the network; and output means (205, 206) configured to output data on an operation screen on which a plurality of soft keys are arranged, the soft keys being configured to enter a password to the operation means and the external device; determining means configured to determine whether a soft key touched by a user via the operation screen is a soft key of a first type configured to enter one character in response to the touch of the soft key, or a soft key of a second type configured to enter one character in response to the touch of the soft key of the second type and another soft key; wherein, in a case where the information processing apparatus is connected to the external device and the determining means determines that the soft key touched by the user via the operation screen is a soft key of the first type, the output means is configured to output first data on the operation screen on which information enabling the user to visually recognize that one of the plurality of soft keys arranged on the operation screen is operated without highlighting the touched soft key of the first type, and in a case where the information processing apparatus is connected to the external device and the determining means determines that the soft key operated by the user via the operation screen is a soft key of the second type, the output means is configured to output second data on the operation screen on which the touched soft key of the second type is highlighted. operation means; determination means configured to determine whether the external device is connected via the network; and output means (205, 206) configured to output data on an operation screen on which a plurality of soft keys are arranged, the soft keys being configured to enter a password to the operation means and the external device; determining means configured to determine whether a soft key touched by a user via the operation screen is a soft key of a first type configured to enter one character in response to the touch of the soft key, or a soft key of a second type configured to enter one character in response to the touch of the soft key of the second type and another soft key; wherein, in a case where the information processing apparatus is connected to the external device and the determining means determines that the soft key touched by the user via the operation screen is a soft key of the first type, the output means is configured to output first data on the operation screen on which information enabling the user to visually recognize that one of the plurality of soft keys arranged on the operation screen is operated without highlighting the touched soft key of the first type, and in a case where the information processing apparatus is connected to the external device and the determining means determines that the soft key operated by the user via the operation screen is a soft key of the second type, the output means is configured to output second data on the operation screen on which the touched soft key of the second type is highlighted.