Ascertaining domain contexts
AssigneeMicrosoft Corporation
InventorsGovind Varshney, Marc A. Silbey, Shankar Ganesh, Robert Impollonia, Venkatraman V Kudallur
Life of this patent
Estimating the term…
Abstract
Various embodiments pertain to ascertaining domain contexts. In one embodiment, an application receives content that may contain a script (i.e. code). In this case, the domain context is ascertained and the script is executed in the context of the domain associated with the received content, rather than requiring the application or some other component to navigate to a location, such as a web location, to attempt to ascertain the domain context of the script. In another embodiment, third party objects or code are required to provide their domain context to an application in order for the application to make a security-based decision.
Claims8
A computer-implemented method comprising:
- receiving HTML content, at a computing device, that has an associated script that is to be executed;
- ascertaining that the script is associated with the HTML content;
- ascertaining a domain context associated with the script by contacting a script engine that is configured to execute the script without employing a navigation activity to a web location to ascertain the domain context;
- and
- making a domain context-based decision based on the ascertained domain context, wherein said domain context-based decision comprises a decision to allow or disallow the script to execute.
Computer-readable storage media having stored thereon computer-executable instructions that, when executed by a processor, perform a method comprising:
- receiving HTML content that has an associated script that is to be executed;
- ascertaining that the script is associated with the HTML content;
- ascertaining a domain context associated with the script by contacting a script engine that is configured to execute the script without employing a navigation activity to a web location to ascertain the domain context;
- and
- making a domain context-based decision based on the ascertained domain context, wherein said domain context-based decision comprises a decision to allow or disallow the script to execute.
Dependencies are inferred from the claim text.