Cross-database ownership chaining, also known as cross-database chaining, is a security feature of SQL Server that allows users of databases access to other databases besides the one they are currently using.
Unintended access to sensitive data
Disable cross database ownership chaining
The following example will fail the google-sql-no-cross-db-ownership-chaining check.
The following example will pass the google-sql-no-cross-db-ownership-chaining check.