Deployment, DNS and security

Keep configuration outside the public web root.

Concept

Keep configuration outside the public web root. Use HTTPS, database prepared statements, CSRF tokens and secure password hashing.

Practical exercise

Deploy a staging site; test DNS, SSL, redirects, 404 responses, backups and the restore procedure before public launch.

Quality check

Never publish passwords or private files in the document root.

Track your learning progress