1000-ft view: this module shows common configuration mistakes that leak sensitive info or relax controls. On the secure page, each demo shows how to harden the config while keeping usability.
Secure idea: never expose phpinfo() publicly. Provide a
minimal “status” view for operators without sensitive paths, env vars, or module config.
phpinfo().)Secure idea: show a friendly message to users and log details to a protected file. Don’t leak stack traces to the browser.
/a05_misconfig/logs/app.log.Secure idea: disable auto-indexing so raw folder contents aren’t exposed.
Options Indexes is enabled.Secure idea: keep secrets outside the webroot or block direct access with server rules.
Secure idea: block well-known defaults (e.g., admin/admin),
force a change at first login, and disable built-in accounts where possible.
admin/admin (should be blocked).