How to pass input parameters to spring ReST web service avoiding SQL injection -


i'm creating spring rest application & passing input paramaters service using "wiztools.org restclient 3.2.2" follows

{ "user_id": 23, "user_email_id": "a@a.com", "user_password": "fdsdsdf", "firstname": "select * user  user_email_id =  'anything' or 'x'='x'", "lastname": "sadffsd", "mobile_number": "1414141414", "user_status": 1, "isdeleted": 0, "created_by": 1, "profile_picturename": "kfksdjfhksjd", "address": "sfdsdfsd" 

}

here first name want make sure sql injection should not injected along input parameters provide safety user. can anybudy suggest me suggestion same

thanks in advance


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

python - GitPython: check if git is available -

php - Extract Text from HTTP referer -