I have a form that contains many text fields. All text fields are required. Since these are text fields, I cannot use specific validation except for the length. But I do not want users to insert tags that are vulnerable to xss attacks.
I know that in ColdFusion I can use htmlEditFormat (), encodeForHTML () when displaying user data to prevent XSS, but I just want to not let those who embed in db.GlobalScriptProtect also don't add a lot of security according to my knowledge. Since I am in CF10, so I can not use getSafeHTML ()
Is there a way to prevent the malicious entries of this data from entering the database in CF10. Can I go for client-side sensitization?
source
share