Title: Authentication and Authorization - Cube Documentation
Open Graph Title: Authentication and Authorization - Cube Documentation
X Title: Authentication and Authorization - Cube Documentation
Description: Harden the SQL API with checkSqlAuth, per-user passwords, security-context switching, and row-level enforcement hooks.
Open Graph Description: Harden the SQL API with checkSqlAuth, per-user passwords, security-context switching, and row-level enforcement hooks.
X Description: Harden the SQL API with checkSqlAuth, per-user passwords, security-context switching, and row-level enforcement hooks.
Opengraph URL: https://docs.cube.dev/reference/core-data-apis/sql-api/security
Generator: Mintlify
Domain: docs.cube.dev
IPv4 address: 66.33.60.66
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://docs.cube.dev/#organization","name":"Cube Documentation","url":"https://docs.cube.dev","logo":{"@type":"ImageObject","url":"https://mintcdn.com/cubed3/wCTntgEXVYYYnx4l/logo/light.svg?fit=max&auto=format&n=wCTntgEXVYYYnx4l&q=85&s=8bbf45ba64eac6116629064fac55aad7"}},{"@type":"WebSite","@id":"https://docs.cube.dev#website","name":"Cube Documentation","url":"https://docs.cube.dev","publisher":{"@id":"https://docs.cube.dev/#organization"}},{"@type":"WebPage","@id":"https://docs.cube.dev/reference/core-data-apis/sql-api/security#webpage","url":"https://docs.cube.dev/reference/core-data-apis/sql-api/security","name":"Authentication and Authorization","description":"Harden the SQL API with checkSqlAuth, per-user passwords, security-context switching, and row-level enforcement hooks.","dateModified":"2026-11-12T17:25:59.612Z","isPartOf":{"@id":"https://docs.cube.dev#website"},"breadcrumb":{"@id":"https://docs.cube.dev/reference/core-data-apis/sql-api/security#breadcrumb"}},{"@type":"BreadcrumbList","@id":"https://docs.cube.dev/reference/core-data-apis/sql-api/security#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Core Data APIs","item":"https://docs.cube.dev/reference/core-data-apis"},{"@type":"ListItem","position":2,"name":"SQL API","item":"https://docs.cube.dev/reference/core-data-apis/sql-api"},{"@type":"ListItem","position":3,"name":"Authentication and Authorization","item":"https://docs.cube.dev/reference/core-data-apis/sql-api/security"}]},{"@type":["Article","TechArticle"],"@id":"https://docs.cube.dev/reference/core-data-apis/sql-api/security#article","headline":"Authentication and Authorization","name":"Authentication and Authorization","description":"Harden the SQL API with checkSqlAuth, per-user passwords, security-context switching, and row-level enforcement hooks.","url":"https://docs.cube.dev/reference/core-data-apis/sql-api/security","mainEntityOfPage":{"@id":"https://docs.cube.dev/reference/core-data-apis/sql-api/security#webpage"},"dateModified":"2026-11-12T17:25:59.612Z","publisher":{"@id":"https://docs.cube.dev/#organization"},"isPartOf":{"@id":"https://docs.cube.dev#website"}}]}
{"@context":"https://schema.org","@type":"WebSite","name":"Cube Documentation","publisher":{"@type":"Organization","name":"Cube Documentation"},"provider":{"@type":"Organization","name":"Mintlify","url":"https://mintlify.com"}}
| application-name | Cube Documentation |
| og:site_name | Cube Documentation |
| og:type | website |
| og:image | https://cubed3.mintlify.site/_mintlify/api/og/v2?division=SQL+API&title=Authentication+and+Authorization&description=Harden+the+SQL+API+with+`checkSqlAuth`,+per-user+passwords,+security-context+switching,+and+row-level+enforcement+hooks.&theme=6d1e003873cec4de62649d7c&signature=556c2e516bed8d647f2e5751282c6963e0103432d9e28fa5a3257e8890355676 |
| og:image:width | 1200 |
| og:image:height | 630 |
| twitter:card | summary_large_image |
| twitter:image | https://cubed3.mintlify.site/_mintlify/api/og/v2?division=SQL+API&title=Authentication+and+Authorization&description=Harden+the+SQL+API+with+`checkSqlAuth`,+per-user+passwords,+security-context+switching,+and+row-level+enforcement+hooks.&theme=6d1e003873cec4de62649d7c&signature=556c2e516bed8d647f2e5751282c6963e0103432d9e28fa5a3257e8890355676 |
| twitter:image:width | 1200 |
| twitter:image:height | 630 |
| msapplication-config | /mintlify-assets/_mintlify/favicons/cubed3/JtLYPWhDFrYGSK8W/_generated/favicon/browserconfig.xml |
| apple-mobile-web-app-title | Cube Documentation |
| msapplication-TileColor | #5339CF |
Links:
| Server | Vercel |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0 |
| Last-Modified | Sun, 22 Nov 2026 19:52:11 GMT |
Viewport: width=device-width, initial-scale=1, viewport-fit=cover