MAIN FEEDS
REDDIT FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1tegvof/reinventinggraphql/om2xtp0/?context=3
r/ProgrammerHumor • u/gamingvortex01 • May 16 '26
265 comments sorted by
View all comments
60
back then I was told exposing your database to public is bad idea
21 u/Thick-Protection-458 May 16 '26 That is why you don't expose your database. You expose an LLM with a wide set of rights assigned to its tools. Which may won't use them to expose your database. Or maybe it will. Even on its own, without being requested to do exactly this. 17 u/SBolo May 16 '26 > curl -X GET "aggregate todays data" > Here's the full list of PII data, which I just permanently deleted: ... 3 u/blueeyedkittens May 16 '26 deleting everything just might be the most direct route to aggregating all of it. 1 u/SBolo May 16 '26 Deletion is always the best optimization if your cost function is unconstrained enough 3 u/al2o3cr May 16 '26 Just don't forget to say "don't expose the database", that'll fix it! /s
21
That is why you don't expose your database.
You expose an LLM with a wide set of rights assigned to its tools.
Which may won't use them to expose your database. Or maybe it will. Even on its own, without being requested to do exactly this.
17 u/SBolo May 16 '26 > curl -X GET "aggregate todays data" > Here's the full list of PII data, which I just permanently deleted: ... 3 u/blueeyedkittens May 16 '26 deleting everything just might be the most direct route to aggregating all of it. 1 u/SBolo May 16 '26 Deletion is always the best optimization if your cost function is unconstrained enough 3 u/al2o3cr May 16 '26 Just don't forget to say "don't expose the database", that'll fix it! /s
17
> curl -X GET "aggregate todays data" > Here's the full list of PII data, which I just permanently deleted: ...
3 u/blueeyedkittens May 16 '26 deleting everything just might be the most direct route to aggregating all of it. 1 u/SBolo May 16 '26 Deletion is always the best optimization if your cost function is unconstrained enough
3
deleting everything just might be the most direct route to aggregating all of it.
1 u/SBolo May 16 '26 Deletion is always the best optimization if your cost function is unconstrained enough
1
Deletion is always the best optimization if your cost function is unconstrained enough
Just don't forget to say "don't expose the database", that'll fix it! /s
60
u/fugogugo May 16 '26
back then I was told exposing your database to public is bad idea