# Modescurity to prevent sql injection

**URL:** <https://discourse.haproxy.org/t/modescurity-to-prevent-sql-injection/7103>\
**Category:** Help!\
**Created:** [November 17, 2021, 4:00am UTC](https://discourse.haproxy.org/t/modescurity-to-prevent-sql-injection/7103 "2021-11-17T04:00:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kolo](https://avatars.discourse-cdn.com/v4/letter/k/f9ae1b/32.png) [@kolo](https://discourse.haproxy.org/u/kolo)\
**Post date:** [November 17, 2021, 4:00am UTC](https://discourse.haproxy.org/t/modescurity-to-prevent-sql-injection/7103/1 "2021-11-17T04:00:44Z")

</div>

i have trouble in making haproxy import modsecurity module for sql injection preventive. should i make spoe or agent in it? or is there any tricks?
