Quote:
Originally Posted by Gambet
I suppose you could still incorporate callstack, though, by storing a backup of the data and making it so if the system that is supposed to access the database isn't the one updating the database then whatever changes made to the data is automatically reverted back to the backup.
|
How would one detect what's calling requestsql() to update the database?
Quote:
HTML Code:
drop table [name]
Could cause an even bigger problem...
|
Yes, especially since someone could get ALL the table names from sqlite_master. Luckily, backing up a SQLite database is as easy as copying a single file. Still, I agree that there should be some kind of built-in protection.