aboutsummaryrefslogtreecommitdiffstats
path: root/src/uploads/.htaccess
diff options
context:
space:
mode:
authorkj_sh6042026-06-01 13:34:03 -0400
committerkj_sh6042026-06-01 13:34:03 -0400
commit97942ca6f1a38c133c5e1adb7b5ea10d84c81985 (patch)
treedc9dc314ced42d9a1891a6b356b3235c6a489f9a /src/uploads/.htaccess
parent6aea2bf6305e6d266f7ec7d54bd1966b050e7f79 (diff)
refactor: move nyan.png to original locationHEADmain
Diffstat (limited to 'src/uploads/.htaccess')
-rw-r--r--src/uploads/.htaccess5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/uploads/.htaccess b/src/uploads/.htaccess
new file mode 100644
index 0000000..c53904e
--- /dev/null
+++ b/src/uploads/.htaccess
@@ -0,0 +1,5 @@
+# deny common executable/script payloads in uploads
+<FilesMatch "\.(php|phtml|php[0-9]?|phar|cgi|pl|py|sh)$">
+ Require all denied
+</FilesMatch>
+Options -ExecCGI