An information processing apparatus comprising: a web browser ; a web server program belonging to a first domain; and a driver that communicates with an image reading device connected to the information processing apparatus, wherein the web server program , when executed by the information processing apparatus, causes the information processing apparatus to function as: first reception means for receiving an HTTP message from a web application that belongs to a second domain different from the first domain and is executed on the web browser; first transmission means for transmitting scan setting information and a request to start an image reading process from the first reception means that has received the HTTP message to the driver; second reception means for receiving, from the driver, image information output by the image reading device; and second transmission means for transmitting (S10054) a request to accept transmission of the image information received by the second reception means and information used for authentication to a web storage service in which the image information is to be stored, wherein the web server program acquires (S10051) the information used for authentication from the web application via the web browser. a web browser ; a web server program belonging to a first domain; and a driver that communicates with an image reading device connected to the information processing apparatus, wherein the web server program , when executed by the information processing apparatus, causes the information processing apparatus to function as: first reception means for receiving an HTTP message from a web application that belongs to a second domain different from the first domain and is executed on the web browser; first transmission means for transmitting scan setting information and a request to start an image reading process from the first reception means that has received the HTTP message to the driver; second reception means for receiving, from the driver, image information output by the image reading device; and second transmission means for transmitting (S10054) a request to accept transmission of the image information received by the second reception means and information used for authentication to a web storage service in which the image information is to be stored, wherein the web server program acquires (S10051) the information used for authentication from the web application via the web browser. first reception means for receiving an HTTP message from a web application that belongs to a second domain different from the first domain and is executed on the web browser; first transmission means for transmitting scan setting information and a request to start an image reading process from the first reception means that has received the HTTP message to the driver; second reception means for receiving, from the driver, image information output by the image reading device; and second transmission means for transmitting (S10054) a request to accept transmission of the image information received by the second reception means and information used for authentication to a web storage service in which the image information is to be stored, wherein the web server program acquires (S10051) the information used for authentication from the web application via the web browser. <EOS>