摘要 |
PROBLEM TO BE SOLVED: To provide an information processing apparatus that improves reliability in cross-origin access.SOLUTION: A CORS mode determination unit 13 determines whether it is a different connection request assuming the origin unlike an access source origin as an access destination origin based on the information of the access source origin of the HTTP request and the access destination origin. A request transmission unit 14 generates a request for the other origin by changing in the form of the access between the different origins, and transmits it to the access destination origin, in the case of different connection request. An origin comparing unit 18 receives a reply to the request for the other origin, and determines whether the access source origin is a permission origin, based on the information of the permission origin where the access to the origin of the access destination acquired from the response is permitted, in the case of the different connection request. A response transmission unit 19 changes the response to the form of the reply to the HTTP request and transmits it when the access source origin is the permission origin.SELECTED DRAWING: Figure 2 |