Protecting login and comment forms against CSRF
问题 I have read many articles about CSRF protection (this is a good one) and various questions here on SO, but none of them seem to be informative enough to answer my question. I am developing my own CMS and I want to secure my login and comment forms. I am going to allow anonymous users to comment on my website. All of the forms on my website are secured using tokens. I already know about that approach, but the problem is that it needs an active session (that is, after the user logs in). The