Enhancing Web Security: Token-Based Solutions to Prevent CSRF Attacks
Prof. K. N. Hande, Mehak Khan, Mansi Bhujade
1 Professor. k. N. Hande, Department of Computer Science and Engineering, Priyadarshini Bhagwati College of Engineering, Nagpur, Maharashtra, India
2 Mehak Khan, Department of Computer Science and Engineering, Priyadarshini Bhagwati College of Engineering, Nagpur, Maharashtra, India
3 Mansi Bhujade, Department of Computer Science and Engineering, Priyadarshini Bhagwati College of Engineering, Nagpur, Maharashtra, India
---------------------------------------------------------------------***---------------------------------------------------------------------
Abstract - A Cross-Site Request Forgery (CSRF) is a security vulnerability in web applications where an attacker tricks a user into performing unintended actions on a different website without their knowledge. subverts the user’s trust in a single site and causes the user to perform actions that he or she did not intend to take on that domain. When logged in, an attacker may act even when the user does not intend for them to do so, such as making illegal transactions, modifying user configurations, or deleting information. As discussed in an understanding of Cross-Site Request Forgery: Attacks and Countermeasures, a CSRF attack is dangerous because it takes advantage of the trust the victim has placed in the web application, making it difficult to detect. The This paper explores CSRF attacks by examining their operational principles, common tactics used by attackers, and potential prevention techniques, such as token implementation, Same-site cookie policies, and secure coding practices. As the dependency on web applications continues to grow, the need to encourage and enforce proper security practices against CSRF attacks becomes increasingly important.
Key Words: Cross-Site Request Forgery, Web security vulnerability, Anti-CSRF tokens, Defensive coding against CSRF Session validation, Forgery of requests