Prevent RawSQL injection in Django

114 Views Asked by At

In my Django application I am using RawSQL queries as an additional security layer, I want to parse every RawSQL query to prevent delete or update operation.

example : There are some automated jobs scheduled from django admin panel which utilise the RawSQL queries while execution I need a method to add a validation layer over the rawsql execution so that I can prevent execution of any delete, update etc queries.

0

There are 0 best solutions below