Which masking policy will mask a column whenever it is queried through a view owned by a role named MASKED_VIEW_ROLE?
A masking policy is a SQL expression that transforms the data in a column based on the role that queries the column1. The is_role_in_session function returns true if the specified role is in the current session2. Therefore, the masking policy in option A will mask the column data with asterisks whenever it is queried through a view owned by the MASKED_VIEW_ROLE3. The other options use different functions that do not check the ownership of the view, but rather the current role, the invoker role, or the available roles in the session45. These functions may not return the desired result if the role that owns the view is different from the role that queries the view.
Dylan
4 months agoMelissa
4 months agoDonte
4 months agoMohammad
4 months agoShoshana
3 months agoShoshana
4 months agoSabra
4 months agoCelia
4 months agoEdward
3 months agoNieves
3 months agoJettie
3 months agoRaul
4 months agoGeorgene
4 months agoDelsie
4 months agoMisty
4 months agoKaitlyn
5 months agoLindsey
4 months agoAlberta
5 months agoMelissa
5 months ago