harden database