>One night in bed I realized that if someone hit submit on the delete screen without filling in any criteria it would just delete the whole database.
how
how
I.e if no criteria, it could be sending a DELETE message with no where clause in SQL land.
we got things restored and back online in a couple of hours. I let her go home afterwards, heh she had suffered enough.
Even earlier, I got into the habit of typing the where clause before typing the from clause. Not much of a change, but it feels more fail-safe.
we've had some really heated debates, but nobody would listen to me. and then one day DELETE happened where $user was empty. they spent half day restoring the database, but nobody made any conclusions and nothing changed...
aaand it’s gone