Information processing apparatus, control method, and storage medium
AssigneeCanon Kabushiki Kaisha
InventorYoshimasa Kawana
Life of this patent
Estimating the term…
Abstract
Provided is a device in which an application having a web browser function is installed. The device controls a display on a local UI using content provided by a message providing service. The device accepts a selection of a link included in the display, determines whether a referrer of a link destination indicates a domain to which the message providing service belongs. If the referrer indicates the domain to which the message providing service belongs, the device controls display using content corresponding to the link destination, and if the referrer does not indicate the domain to which the message providing service belongs, the device controls display of a screen indicating that the link destination cannot be accessed.
Claims9
An information processing apparatus in which an application having a web browser function is installed, comprising:
- a memory storing instructions;
- and
- a processor which is capable of executing the instructions causing the information processing apparatus to:
- control a display on a displaying unit using the web browser function and content provided by a predetermined providing service that belongs to a predetermined domain;
- accept, from a user, a selection of a link included in the display;
- determine whether URL information as a referrer included in a HTTP request issued by the web browser function based on an accepting of the selection of the link indicates the predetermined domain, wherein the referrer is URL information of a web page on which the link has been arranged;
- determine whether a domain of a destination of the issued HTTP request indicates the predetermined domain;
- in a case where it is determined that the URL information as the referrer indicates the predetermined domain, control display of a succeeding web page corresponding to the link using content received according to the issued HTTP request;
- and
- control display of a screen indicating an access error, if the URL information of the referrer does not indicate the predetermined domain and the domain of the destination of the issued HTTP request does not indicate the predetermined domain.
A method for controlling an information processing apparatus in which an application having a web browser function is installed, the method comprising:
- controlling a display on a displaying unit using the web browser function and content provided by a predetermined providing service which belongs to a predetermined domain;
- accepting, from a user, a selection of a link included in the display;
- determining whether URL information as a referrer included in a HTTP request issued by the web browser function based on an accepting of the selection of the link indicates the predetermined domain, wherein the referrer is URL information of a web page on which the link has been arranged;
- determining whether a domain of a destination of the issued HTTP request indicates the predetermined domain;
- in a case where it is determined that the URL information as the referrer indicates the predetermined domain, controlling display of a succeeding web page corresponding to the link using content received according to the issued HTTP request;
- and
- if the URL information of the referrer does not indicate the predetermined domain and the domain of the destination of the issued HTTP request does not indicate the predetermined domain, controlling display of a screen indicating an access error.
A non-transitory storage medium on which is stored a computer program for making a computer execute a method for controlling an information processing apparatus in which an application having a web browser function is installed, the method comprising:
- controlling display on a displaying unit using the web browser function and content provided by a predetermined providing service which belongs to a predetermined domain;
- accepting, from a user, a selection of a link included in the display;
- determining whether URL information as a referrer included in a HTTP request issued by the web browser function based on an accepting of the selection of the link indicates the predetermined domain, wherein the referrer is URL information of a web page on which the link has been arranged;
- determining whether a domain of a destination of the issued HTTP request indicates the predetermined domain;
- in a case where it is determined that the URL information as the referrer indicates the predetermined domain, controlling display of a succeeding web page corresponding to the link using content received according to the issued HTTP request;
- and
- URL information of the referrer does not indicate the predetermined domain and the domain of the destination of the issued HTTP request does not indicate the predetermined domain, controlling display of a screen indicating an access error.
Dependencies are inferred from the claim text.