Jump to content

How can I prevent running sql queries


vividona

Recommended Posts

Prevent against injections, not against running queries.

You can:

Escape your data.

Use prepared statements.

Give only necessary database access privileges to your application

Move all your queries to stored procedures and allow your application to run only specified set of these procedures

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.