Database and file system protection