October 2005
Intermediate to advanced
454 pages
14h 44m
English
Application contexts are sets of name-value pairs that can be defined in a session by executing a specially defined stored procedure. They are most commonly used to control access to database resources according to rules that vary depending on the current user and discussed in detail for row-level security in Chapter 5. As with the client identifier discussed in the previous section, they can be used to convey the identity of the real user. Either approach (or a combination of the two) gives you a way to identify non-database users.
See Chapter 5 for explanations and examples of using application contexts .