Improve the security during Database update.
Authored by: tmuenzer 2009-03-19
Parent: [r399]
Child: [r401]