Subscribe / Unsubscribe Forms with Insert and Delete DataAssist server behaviors
I have two forms on my website.
1. Form 1 allows visitors to subscribe to our email newsletter. It has a DataAssist Insert Single Record Server Behavior.
2. Form 2 allows visitors to unsubscribe from the newsletter. It has a DataAssist Delete Single Record Server Behavior.
The forms are working fine, however I have a security question. Is it safe to have these Insert and Delete Server Behaviors working on pages outside the cover of Security Assist?
I know you guys have a double opt-in tutorial, but I have already built it out this way and would prefer to use my solution if it does not pose security risks.
Thanks. Attached is my code for both pages.