diff --git a/attachments/.htaccess b/attachments/.htaccess index e0b49ce1..8d945254 100644 --- a/attachments/.htaccess +++ b/attachments/.htaccess @@ -2,7 +2,7 @@ AddHandler cgi-script .php .php2 .php3 .php4 .php5 .php6 .php7 .php8 .php9 .pl . Options -ExecCGI -Indexes -#grant access only if uploading a word-processing or image format - +#grant access only if files with specific extensions are uploaded + Require all granted diff --git a/upload/.htaccess b/upload/.htaccess index cac0ec05..7ba582f1 100644 --- a/upload/.htaccess +++ b/upload/.htaccess @@ -4,7 +4,7 @@ AddHandler cgi-script .php .php2 .php3 .php4 .php5 .php6 .php7 .php8 .php9 .pl . Options -ExecCGI -Indexes -#grant access only if uploading a word-processing or image format - +#grant access only if files with specific extensions are uploaded + Require all granted