News for hackers. Stuff that matters.
Re:Show HN: FSQL – Search through your file system with SQL-... by bbcbasic on Monday May 15, 2017 @06:00PM (#14345522)
Sounds dangerous!
Re:Show HN: FSQL – Search through your file system with SQL-... by atemerev on Monday May 15, 2017 @06:49PM (#14345879)
No more than DELETE FROM ... WHERE ... wait, where is WHERE?
Re:Show HN: FSQL – Search through your file system with SQL-... by philsnow on Monday May 15, 2017 @10:10PM (#14346871)
Even this can be made safe(r) if you only only only connect to your database nthrough a proxy that sanitizes queries. IIRC vitess adds an implicit LIMIT 10 to queries that don't have a limit.
Re:Show HN: FSQL – Search through your file system with SQL-... by cdmckay on Tuesday May 16, 2017 @03:14AM (#14347899)
A simple solution is to not allow UPDATE or DELETE statements without a WHERE clause.