gristlabs_grist-core/app
Paul Fitzpatrick b2715ae9ef (core) forbid use of sqlite ATTACH except during VACUUM
Summary:
This calls sqlite3_limit(SQLITE_LIMIT_ATTACHED, 0) so that
if ever an `ATTACH` were snuck into an SQL query, it would be denied.
The limit needs to be waived when calling VACUUM since the implementation
of VACUUM uses ATTACH.

Test Plan: added test; existing tests should pass

Reviewers: alexmojaki

Reviewed By: alexmojaki

Subscribers: alexmojaki

Differential Revision: https://phab.getgrist.com/D3316
2022-03-14 09:34:44 -04:00
..
client (core) Record new user sign-ups 2022-03-12 14:34:46 -08:00
common (core) Record new user sign-ups 2022-03-12 14:34:46 -08:00
gen-server (core) be careful when reassigning a doc to a worker it was on before 2022-03-08 17:20:01 -05:00
plugin Correct spelling mistakes 2022-02-19 09:46:49 +00:00
server (core) forbid use of sqlite ATTACH except during VACUUM 2022-03-14 09:34:44 -04:00
tsconfig.json (core) move home server into core 2020-07-21 20:39:10 -04:00