OpenML
OpenML copied to clipboard
Security hardening: disable expose_php, raise max_input_time, remove Indexes
Implements server hardening from #1268:
docker/config/php.ini: setexpose_php = Offdocker/config/php.ini: setmax_input_time = 3600to support large multipart parsingdocker/config/api.conf: removeIndexesfrom<Directory /var/www/openml>Options
Rationale:
- Reduce information disclosure (hide PHP version)
- Prevent directory listing
- Avoid timeouts while reading multi-GB uploads given increased upload limits
This is a low-risk change that improves defaults for production deployments.
Fixes #1268