Reposted by CodingWithJamal
Use a product like Convex that has authorization in functions that run server side. That why you don't get firepwn:
From my teammate @codingwithjamal.bsky.social:
stack.convex.dev/authenticati...
stack.convex.dev
Authentication Best Practices: Convex, Clerk and Next.js
Authentication issues in real-time applications can cause security risks, especially when client-side queries run before validation. Ensuring authenti...