Developer forum

Forum » CMS - Standard features » CK editor on frontend fields for Item Creator - spam filter

CK editor on frontend fields for Item Creator - spam filter

Hans Ravnsfjall
Hans Ravnsfjall
Reply

We have a website where it is possible to create Items frontend. For formatted RichText, we use ckeditor.

But there seems to be a problem regardin spam filter / protection agaings SQL injections. Some users get banned when filling the form, and I presume it is caused by unintended code being copied into the richtext areas.

I could turn off spamfilter all together, but that would make the solution vulnerable.

Anybody got any suggestions on how to handle this?

 

/Hans

 


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

In security settings you can ignore specific fields that are being posted from frontend from the security checks - go to Security settings and look at the , "ignore the following fields" setting.

https://doc.dynamicweb.com/documentation-9/platform/advanced-settings/web-and-http#3518

So if your editor submits a value in a field called "CustomRichText" add that to the above setting.

 

You must be logged in to post in the forum