Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
How to flexibly query back end (e.g. SQL) from front end?
1 point by valenterry on Aug 13, 2021 | hide | past | favorite
Say I have an SQL database and I want to query it from a frontend/app. But I need to assume a malicious actor, so I need fine granular control over what is queried and I want to check if the query is valid for whoever submits it. Are there any good solutions that are less powerful than just having pure SQL (which is super hard to check) but more powerful than, say, graphql?

Something like cube.js (cube.dev) seems to come close, but I wonder what other options are there



Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: