3 ms·
I think you've hit it; never expose anything without good reason, and the database doesn't need to be exposed. This is compounded because, while apps can have i
by yjftsjthsd-h 9y ago
I think you've hit it; never expose anything without good reason, and the database doesn't need to be exposed. This is compounded because, while apps can have injection vulnerabilities, I expect it to be easier to sanitize things at that level rather than exposing the database but expecting it to filter things enough. Or if you prefer: The failure mode of an app is that it passes raw (escapable) queries to the database. If you expose the DB, then raw queries are the starting line.