I'm not good in web security. Since I have started learning and using Codeigniter, I have read about Cross-site request forgery (CSRF), but I'm not sure how to use it.
Is CSRF in Codeigniter used on frontend form only, or every form frontend and backend I have created? I see other articles that it will cause a problem to who is using Ajax and other API like Facebook, etc...