I am curious about the implementation details of D1. I am seriously considering a model where 1. Eac
I am curious about the implementation details of D1. I am seriously considering a model where
- Each user gets their own SQLite database
- Each user, if they so wish, can arbitrarily query the database
Giving each user their own sqlite database has many advantages - Trivial to monitor storage usage of users
- Trivial to delete all user's data
- Users can hopefully have data autonomy in the sense they can just download all their data
But I am curious about the security concerns of this. I haven't found anything saying to what degree sqlite is protected against sql injection escaping the database. Obviously, the D1 team must be very familiar with this problem so I just thought I would ask, I understand if you aren't at liberty to discuss the implementation details of D1



