
- Forum
- Programming Talk
- Coldfusion
- SQL Injection Precautions in CF
SQL Injection Precautions in CF
This is a discussion on SQL Injection Precautions in CF within the Coldfusion forums, part of the Programming Talk category; Dear friends I am interested to know precautionary measures in CF to prevent SQL Injection attacks, Kindly provide the required ...
-
SQL Injection Precautions in CF
Dear friends
I am interested to know precautionary measures in CF to prevent SQL Injection attacks, Kindly provide the required information.
Warm Regards.
Limca Guy
-
04-24-2006, 07:21 PM #2
- Join Date
- Apr 2006
- Answers
- 5
Try to use clean codes and make sure you know a lot about SQL!
-
Here are few things I would do...
1. remove all embed sql statements... use stored procedures where ever possible..
2. have validations on all the fields and limit the lenght depending on the database tables.
3. keep range validator all the time on accepted values.
-
techguru
Thanks for the useful information regarding precautionary measures to prevent SQL Injection Attack. I will make sure to follow your recommended steps. I hope these will protect my code from unwarranted and malicious inputs.
Thanks again
-
hi
The precautions for sql injection in cold fusion are as under :
1. Limit use access.
2. Use function like stripquotes.
3. Remove culprit characters from sequences.
4. Use killchars function.
5. Limit the length of the user input.
6. Use Post instead of Get while submitting forms.
Hope so that would helpful..
Thanks
Ashlee
-
Sponsored Ads

Reply With Quote





