~/talk

Security techniques for cross database access

Talkat SQLBits 2023 · 2023-03-14..03-18· [databases, security]
links:none on file
slides:none on file

Compares four concrete ways to allow cross-database queries and shows demos that work or fail: naive approach grants users in every target DB (works but scales terribly); ownership chaining (DB chaining) works without extra object permissions but requires identical database owners and per-database enabling; set TRUSTWORTHY off is recommended because turning it on lets module code escape the database (execute as owner becomes server‑privileged); certificate-signed stored procedures let a proc access remote objects without granting user rights, but the proc must be re‑signed after changes.

AI-written summary · about

  1. 0:00Introduction
  2. 1:01Security challenges
  3. 2:03Scenario setup
  4. 6:04Basic permission granting
  5. 11:47Ownership chaining
  6. 17:31Cross-database chaining
  7. 31:55Trustworthy property risks
  8. 48:52Signed procedures
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.