Is there any way i can stop a user to perform a UNION operation on my Database ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could build an
EXPLAINfor the query prior to running it and reject the query if there is a mention ofUNIONinselect_type.This wouldn’t allow you to run any
DMLqueries, though, sinceEXPLAINdoes not work on them.Not that I have any idea why on Earth would you need to do that.