Implemented: editor uploads are constrained to safe image files inside

the upload tree, and public form submissions are
size-bounded and rate-limited
This commit is contained in:
2026-11-28 18:25:41 +01:00
parent cf721b04b0
commit 345a99cf32
11 changed files with 417 additions and 23 deletions
+17
View File
@@ -0,0 +1,17 @@
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule \.(?:php[0-9]*|phtml|phar)(?:/|$) - [F,NC]
</IfModule>
<IfModule mod_authz_core.c>
<FilesMatch "(?i)\.(php[0-9]*|phtml|phar)$">
Require all denied
</FilesMatch>
</IfModule>
<IfModule mod_access_compat.c>
<FilesMatch "(?i)\.(php[0-9]*|phtml|phar)$">
Order allow,deny
Deny from all
</FilesMatch>
</IfModule>