How to provide protection against Cross Site Request Forgery (CSRF) attacks for an old web application built on Java and struts2 framework?
Tried adding filter before servlet, stuck over there.
How to provide protection against Cross Site Request Forgery (CSRF) attacks for an old web application built on Java and struts2 framework?
Tried adding filter before servlet, stuck over there.
Copyright © 2021 Jogjafile Inc.
Old application should use a
tokenortokenSessioninterceptor.You can find details in my previous answer: Struts2 token interceptor: CSRF protection.