diff --git a/.htaccess b/.htaccess index f5c4adce4..4fd10f335 100644 --- a/.htaccess +++ b/.htaccess @@ -2,7 +2,24 @@ RewriteEngine On -## +## Begin - Exploits +# If you experience problems on your site block out the operations listed below +# This attempts to block the most common type of exploit `attempts` to Grav +# +# Block out any script trying to base64_encode data within the URL. +RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR] +# Block out any script that includes a