4 ms·
http://www.modsecurity.org/ http://www.modsecurity.org/ can provide an additional layer of defense for your web apps.
by Erwin 18y ago
http://www.modsecurity.org/ http://www.modsecurity.org/ can provide an additional layer of defense for your web apps.
- thorax 18y agoAnd, if you're an average developer, it could eat literally days and days of time with frustrating and odd failures in corner cases with your web applications. If you build an application, I suppose doing it on systems with mod_security already present would allow you to grow to avoid pains with it. But adding mod_security later is a tremendous pain and overnight can turn a working (but complex) web app into a field full of random, hard-to-find sinkholes that confuse users with random HTTP rejections. On one of our more popular projects, after adding in a dozen or more rule exceptions for each false positive (and not seeing a light at the end of the tunnel), we just had to give up on using mod_security. It was just getting way too many false positives and eating up time we could spend improving our user experience. There's probably a whole lot of reduced security profiles, advice, etc, that decrease the noisiness and increase the ROI, but there's only so much time we were able to invest in adding this additional layer. We spent 250% of the expected time with no better learning experience except the following: adding mod_security without impacting your users seems awfully hard for a decent-sized web app. If you're going to use mod_security, build your app with it in the picture from the beginning. Or learn from someone (who will hopefully comment on this thread) how to enable it in such a way as to eliminate the false positive rejections which can frustrate your users.
- drusenko 18y agocompletely ditch their rules and start fresh. use it as a simple last line of defense solution protecting important things from leaking out.