Protected the database with htaccess