Is turning off mod_security dangerous?
-
I just added a rewrite from member Rok to my htaccess.
An Ajax image upload fix that fixes image upload problems:<ifmodule mod_security.c> <files async-upload.php> SecFilterEngine Off SecFilterScanPOST Off </files> </ifmodule>
So now my htaccess looks like this:
<IfModule mod_rewrite.c> <files async-upload.php> SecFilterEngine Off SecFilterScanPOST Off SecFilterInheritance Off RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </files> </IfModule>
The fix works fine BTW but when we turn the SecurityFilter off, do we not open a door for exploits?
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Is turning off mod_security dangerous?’ is closed to new replies.