Link context options

Link context is an indicator of the kind of file that the scan expected to find when it requested the link.

The following table describes the purpose of the link context options as well as an example of each. Bear in mind that the accuracy of the XRule results depends on the circumstances. The link context is really just an indicator of the kind of file that the scan expected to find when it requested the link. Because of typographical errors or links that return a 404 custom error page, the expected file might not actually exist. For example, with the link context "Any link to an image file", the XRule limits its search to the Src attribute of the IMG tag. Because of the context, the scan expected that the Src will return a valid graphic file. However, someone might have incorrectly typed in logo.html, when the file was really logo.gif. In this case, the condition will have been satisfied because the scan expected an image file because of the link context. However, the reports based on this XRule would contain a false result. Although logo.html is not an image, it would still display in the reports because the XRule expected an image given its context within a SRC attribute.

Link Context Description
Links inside an anchor tag Limit the search to all links found within the Href attribute of the ANCHOR tag.
Any link to an HTML file Limit the search to links where the scan expected to find an HTML file. The XRule will search for all contexts where the scan expected to find a link to an HTML file, such as within the FRAME tag.
Any link to an image file Limit the search to links where the scan expected to find an image file. The XRule will search for all contexts where the scan expected to find a link to an image file; for example, within the IMG tag or the Background attribute of the BODY tag.
Any link to an audio file Limit the search to links where the scan expected to find an audio file. The XRule will search for all contexts where the scan expected to find a link to an audio file; for example, within the BGSOUND tag.
Any link to an applet Limit the search to links where the scan expected to find an applet. The XRule will search for all contexts where the scan expected to find a link to an applet; for example, within the APPLET tag.
Any link to a stylesheet Limit the search to links where the scan expected to find a stylesheet. The XRule will search for all contexts where the scan expected to find a link to a stylesheet; for example, within the LINK tag.
Any link to a script Limit the search to links where the scan expected to find a script file. The XRule will search for all contexts where the scan expected to find a link to a script file; for example, within the SCRIPT tag. This search includes all types of scripts, such as VBScript and JScript.
Any link to an ActiveX control Limit the search to links where the scan expected to find an ActiveX control. The XRule will search for all contexts where the scan expected to find a link to an ActiveX control; for example, within the OBJECT tag.
Unknown (not of value to search) Use Unknown content when the context is unknown or the context does not aid the search for the link. This option is the default value for the link context.
Any link within a Frame tag Limit the search to links where the scan expected to find a file referenced within a FRAME tag. The XRule searches for any type of file, but it must be referenced somewhere within a frame.
Any link to a server map Limit the search to links where the scan expected to find a server map. The XRule will search for all contexts where the scan expected to find a link to a server map; for example, within the AREA tag.
Any link to a video file Limit the search to links where the scan expected to find a video file. The XRule will search for all contexts where the scan expected to find a link to a video file; for example, within the IMG tag.
Any link to a VBScript Limit the search to links where the scan expected to find a VBScript file. The XRule will search for all contexts where the scan expected to find a link to a VBScript; for example, within the SCRIPT tag.
Any link to a JScript Limit the search to links where the scan expected to find a JScript file. The XRule will search for all contexts where the scan expected to find a link to a JScript file; for example, within the SCRIPT tag.
Any link to an XML file Limit the search to links where the scan expected to find an XML file. The XRule will search for all contexts where the scan expected to find a link to an XML file; for example, within the DOCTYPE tag.
Any link to a Flash file Limit the search to links where the scan expected to find a Flash file. The XRule will search for all contexts where the scan expected to find a link to a Flash file; for example, within the OBJECT tag.
Any link to a Windows™ Media meta file Limit the search to links where the scan expected to find a Windows meta file. The XRule will search for all contexts where the scan expected to find a link to Windows meta file; for example, within the IMG tag.
Any link to a Real Media meta file Limit the search to links where the scan expected to find a Real media meta file. The XRule will search for all contexts where the scan expected to find the file; for example, within the IMG tag.
Any link to a client side image map Limit the search to links where the scan expected to find a client side image map file. The XRule will search for all contexts where the scan expected to find the file; for example, within the ANCHOR tag.
Any URL that is relative to an unknown/uncertain base Limit the search to links where the scan cannot resolve the base portion of the link, such as when the job is set to parse JavaScript™. For example, a single JavaScript file, expand.js, might be referenced from within other files: /support.example.com/misc/template.htm and /example.com/company/context.htm. A relative URL inside expand.js would therefore have a different base address based on the file from which expand.js is referenced. The XRule will search for all contexts where the URL might not be fully resolved from parsing JavaScript.
Any URL with improper syntax Limit the search to links where the scan found poor syntax, such as a missing scheme, a missing domain, or an extra separator.
Any link to a text-based Flash data file Limit the search to links where the scan expected to find a text-based Flash data file. The XRule will search for all contexts where the scan expected to find the file; for example, within a Flash file.
Any link to an XML-based Flash data file Limit the search to links where the scan expected to find an XML-based Flash data file. The XRule will search for all contexts where the scan expected to find the file; for example, within Flash file.
Any link added to a scan through an XRule Limit the search to links that were added to the scan by another XRule. The XRule will search for all occasions where a link was added to the scan by an XRule.