1. One or more computer-readable storage device embodying computer-readable instructions which, when executed, implement a method for validating access to a first element within a group of related elements, comprising: associating a security context with each element within the group of related elements; wherein the group of related elements is generated from the same markup domain; verifying access to the first element when the security context associated with the first element permits access to the first element; invalidating access to the first element when the security context associated with the first element does not permit access to the first element; wherein all elements that could be generated from a markup domain are associated with the same security context; and wherein the security context associated with the first element comprises an in-memory component.