For an application with login and logout functionalities and browsing based upon authentication , what all do i need to secure it ? I am basically very new to security and googling is leading to more confusion .
To start with i have decided to use JWT as the backbone . the client will log in , he/she gets a jws and the communication starts. My First question is , do i also need to implement csrf protection for that ? The way i see it , a malicious site or hacker will not be able to cause a csrf attack. What else do i need to do to secure it more ? I might have to save the token in a cookie using httpsecure. Will that be enough for the setup ?