Security, backups and updates
A marketplace holds members' data and money flows, so a little routine goes a long way: strong access, HTTPS, regular backups and careful updates.
Security checklist
- Change the default admin password and use long, unique passwords for every administrator.
- Give staff their own accounts with only the permissions they need (Admin users and permissions).
- Use HTTPS for the whole website - free certificates (Let's Encrypt) are available on almost every hosting.
- Set your own long
$SECURITY_SALTin config.php and keep$DEBUG_MODE=false. - Remove or change the passwords of the demo accounts before launch.
- Delete
database/install.sqlfrom the live server after the installation. - Check Home › Login Logs for unknown logins.
PHP Bid protects its forms against cross-site request forgery, uses prepared database queries, stores passwords hashed, and keeps the internal addresses of the members area out of public links.
Backups
Back up two things, ideally every day with your hosting's backup tool:
- The database - export it with phpMyAdmin or the hosting backup.
- The files - above all
uploaded_images,thumbnails,languagesandconfig.php.
Test a restore once on a test domain, so you know it works when you need it.
Updating PHP Bid
- Make a full backup.
- Read the notes of the new version and run the database changes it includes.
- Upload the new files, but keep your
config.php,uploaded_images,thumbnailsand your changed language files and templates. - Test bidding, selling and the admin panel.