Displaying the accessibility of hyperlinked files
AssigneeInternational Business Machines Corporation
InventorsTomoka Mochizuki, Tomonori Sugiura, Lianzi Wen
Life of this patent
Estimating the term…
Abstract
The accessibility of a hyperlinked files is displayed. A hyperlink that references a resource is extracted from a target file. An attempt to acquire the resource is made by performing a first authentication operation. A first object is received in response to performing the authentication operation. A second object is acquired by performing a second authentication operation using pre-determined authentication information. The first object and the second object are compared to determine if the first object is the same as the second object. Information indicating the accessibility of the resource is presented via a display apparatus.
Claims18
A method for displaying an accessibility of a hyperlinked file, the method comprising:
- extracting, by one or more computer processors, a hyperlink from a target file, wherein the hyperlink references a resource that requires authentication for access to the resource, wherein extracting a hyperlink from a target file further comprises:
- retrieving a FORM tag from a source code of the resource;
- determining the source code of the resource comprises a first INPUT tag having a first attribute comprising a password attribute;
- determining the source code of the resource comprises a second INPUT tag having a second attribute comprising a submit attribute;
- determining the source code of the resource comprises a third INPUT tag having a third attribute that is not a password attribute and not a submit attribute;
- and
- determining the hyperlink includes an authentication screen;
- performing, by one or more computer processors and in response to extracting the hyperlink from the target file, a first authentication operation configured to fail authentication for access to the resource and, in response, receiving a first object indicating the first authentication operation failed;
- acquiring, by one or more computer processors, a second object by performing a second authentication operation using pre-determined authentication information;
- comparing, by one or more computer processors, the first object and the second object to determine if the first object is the same as the second object;
- and
- presenting, by one or more computer processors, via a display apparatus, information indicating the accessibility of the resource, wherein the information is based, at least in part, on the comparison between the first object and the second object and further based, at least in part, on the target file.
A computer program product for displaying an accessibility of hyperlinked file, the computer program product comprising:
- a computer readable storage medium and program instructions stored on the computer readable storage medium, the program instructions comprising:
- program instructions to extract a hyperlink from a target file, wherein the hyperlink references a resource that requires authentication for access to the resource, wherein extracting a hyperlink from a target file further comprises:
- retrieving a FORM tag from a source code of the resource;
- determining the source code of the resource comprises a first INPUT tag having a first attribute comprising a password attribute;
- determining the source code of the resource comprises a second INPUT tag having a second attribute comprising a submit attribute;
- determining the source code of the resource comprises a third INPUT tag having a third attribute that is not a password attribute and not a submit attribute;
- and
- determining the hyperlink includes an authentication screen;
- program instructions to perform, in response to extracting the hyperlink from the target file, a first authentication operation configured to fail authentication for access to the resource and, in response, receive a first object indicating the first authentication operation failed;
- program instructions to acquire a second object by performing a second authentication operation using pre-determined authentication information;
- program instructions to compare the first object and the second object to determine if the first object is the same as the second object;
- and
- program instructions to present, via a display apparatus, information indicating the accessibility of the resource, wherein the information is based, at least in part, on the comparison between the first object and the second object and further based, at least in part, on the target file.
A computer system for displaying an accessibility of a hyperlinked file, the computer system comprising:
- one or more computer processors;
- one or more computer readable storage media;
- program instructions stored on the computer readable storage media for execution by at least one of the one or more processors, the program instructions comprising:
- program instructions to extract a hyperlink from a target file, wherein the hyperlink references a resource that requires authentication for access to the resource, wherein extracting a hyperlink from a target file further comprises:
- retrieving a FORM tag from a source code of the resource;
- determining the source code of the resource comprises a first INPUT tag having a first attribute comprising a password attribute;
- determining the source code of the resource comprises a second INPUT tag having a second attribute comprising a submit attribute;
- determining the source code of the resource comprises a third INPUT tag having a third attribute that is not a password attribute and not a submit attribute;
- and
- determining the hyperlink includes an authentication screen;
- program instructions to perform, in response to extracting the hyperlink from the target file, a first authentication operation configured to fail authentication for access to the resource and, in response, receive a first object indicating the first authentication operation failed;
- program instructions to acquire a second object by performing a second authentication operation using pre-determined authentication information;
- program instructions to compare the first object and the second object to determine if the first object is the same as the second object;
- and
- program instructions to present, via a display apparatus, information indicating the accessibility of the resource, wherein the information is based, at least in part, on the comparison between the first object and the second object and further based, at least in part, on the target file.
Dependencies are inferred from the claim text.