"SQL from the client" architectures are great for development velocity, but they come with challenges around security.