Add class for enforcing explicit security instructions in any publicly accessible script #3
Labels
No Label
kind/breaking
kind/bug
kind/docs
kind/enhancement
kind/feature
kind/lint
kind/proposal
kind/question
kind/refactor
kind/security
kind/testing
kind/translation
kind/ui
priority/critical
priority/high
priority/low
priority/medium
reviewed/duplicate
reviewed/invalid
reviewed/wontfix
status/done
status/needs-feedback
kind/breaking
kind/bug
kind/docs
kind/enhancement
kind/feature
kind/lint
kind/proposal
kind/question
kind/refactor
kind/security
kind/testing
kind/translation
kind/ui
priority/critical
priority/high
priority/low
priority/medium
reviewed/duplicate
reviewed/invalid
reviewed/wontfix
status/done
status/needs-feedback
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: museum-digital/MD_STD#3
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
PHP can be locked down dynamically far beyond what we can do on a server / vhost level. In some scripts, this has been done already.
A class, of which one instance is initialized in the bootstrap file and which throws erros in case no security and resource allocation instructions have been specified would improve the general security of the code.
Dynamic enforcing of security-related PHP settings is mainly focused on resource allocation and e.g. file uploads.
See: https://www.php.net/manual/en/function.ini-set.php