Protect database