Part 4: Making it secure
Hi I'm Meriel and welcome to part 4!
I can imagine you're pretty full with all your new schema knowledge, but hopefully, you still have some room left because now we'll be building on that knowledge to make our database secure.
In this part, we'll cover the fundamentals of authentication:
System user authentication
Record user authentication
Sessions and expiration
Query safety
We'll also look into the capabilities available to you to allow or deny specific SurrealDB features.
Stay safe, and I'll see you in the next one.
THE PLATFORM
Everything an application and its agents know. Five surfaces, one engine.
Database
Document, graph, vector, time-series and relational in one engine.

Agent Memory
What an agent learns, with its source and its time, in the same engine.

Cloud
Managed clusters in the regions you choose, scaled on demand.

Studio
Query, explore and design the schema from the browser.

MCP
Every model that speaks MCP reaches the database and the memory directly.

IN PRODUCTION
Trusted at scale. Samsung, Nvidia, Verizon, Tencent, and Walmart run on SurrealDB.
14,000+
Developers building on SurrealDB Cloud
4M+
Developers building on SurrealDB worldwide
FROM THE TEAMS
SurrealDB gives us a foundation where we can unify semantic search, knowledge graphs, and AI-driven decision making without stitching together multiple systems. Collapsing responsibility into SurrealDB has become our default engineering posture.
VP of Engineering, Later