From caba61d76ded0acc2ad4b25a2a26cffc667ccbbe Mon Sep 17 00:00:00 2001 From: Pascal Leconte Date: Sun, 14 Apr 2024 20:49:20 +0200 Subject: [PATCH] 1.0.4 Add .htaccess in media directory. --- cgwebp.xml | 2 +- media/.htaccess | 17 +++++++++++++++++ plg_system_cgwebp_changelog.xml | 12 ++++++++++++ 3 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 media/.htaccess diff --git a/cgwebp.xml b/cgwebp.xml index 32d8370..b0f3be7 100644 --- a/cgwebp.xml +++ b/cgwebp.xml @@ -7,7 +7,7 @@ GNU/GPL pascal.leconte@conseilgouz.com https://www.conseilgouz.com - 1.0.3 + 1.0.4 PLG_SYSTEM_CGWEBP_DESCRIPTION Conseilgouz\Plugin\System\Cgwebp script.cgwebp.php diff --git a/media/.htaccess b/media/.htaccess new file mode 100644 index 0000000..2ba2298 --- /dev/null +++ b/media/.htaccess @@ -0,0 +1,17 @@ +# aeSecure +ErrorDocument 403 'Access denied

Access denied, unauthorized access.

If you think it is an error, please inform the webmaster to help him to adjust his security rules.
Thank you.

Code : 403 - Deny access
' + +# Block standard Joomla files that are always installed by default + +Order Allow,Deny +Deny from all + + +#Deny access to all CGI, Perl, PHP and Python + +Deny from all + + +# secure directory by disabling script execution +AddHandler cgi-script .php .pl .py .jsp .asp .sh .cgi +Options -ExecCGI \ No newline at end of file diff --git a/plg_system_cgwebp_changelog.xml b/plg_system_cgwebp_changelog.xml index 500c579..f638a10 100644 --- a/plg_system_cgwebp_changelog.xml +++ b/plg_system_cgwebp_changelog.xml @@ -1,4 +1,16 @@ + + plg_system_cgwebp + plugin + system + 1.0.3 + + Update : 14/04/2024 + + + Add .htaccess in media directory. + + plg_system_cgwebp plugin