1. One or more non-transitory storage media storing instructions which, when executed by one or more processors, cause: storing, in association with a cursor for a first database statement, a first authorization context that indicates a first plurality of authorization results, each of which corresponds to a different data realm of a plurality of data realms; after storing the authorization context in association with the cursor, receiving a second database statement; in response to receiving the second database statement, generating a second authorization context that indicates a second plurality of authorization results, each of which corresponds to a different data realm of the plurality of data realms; determining whether to use the cursor to execute the second database statement by comparing the second authorization context to the first authorization context.