2 Oct 20:19
1.9b4 SecFilterRemove question
Rude Yak <rudeyak <at> yahoo.com>
2005-10-02 18:19:26 GMT
2005-10-02 18:19:26 GMT
Hi, folks. I've been playing with the latest-and-greatest and trying to apply it to a situation I'm dealing with on one of my servers. Specifically, I have a multi-purpose webserver, part of which hosts a weblog. Whereas, for the majority of the web server, I can afford to have relatively tight input filtering, it would be nice to be less restrictive for the weblog. To wit, I'm trying the following in my httpd.conf: <IfModule mod_security.c> # Defaults SecFilterEngine DynamicOnly SecFilterScanPOST On SecFilterInheritance On SecFilterCheckCookieFormat On SecFilterNormalizeCookies On SecFilterCheckURLEncoding On SecFilterCheckUnicodeEncoding On SecFilterForceByteRange 32 122 SecFilterSelective "ARGS" "!^[A-Za-z0-9.&/?@_%=:;, *+-]*$" id:1001 SecFilterSelective COOKIES_VALUES "!^[A-Za-z0-9&./?@_%=:;, !-]*$" id:1002 </IfModule> Ideally, what I'd like to add is this: <Location ~ "^/blog/"> SecFilterRemove 1001 </Location> Now, ignoring for the moment the wisdom of turning off input validation(Continue reading)
Erick.
RSS Feed