XSS prevention in JSP/Servlet web application

前端 未结 9 1474
自闭症患者
自闭症患者 2020-11-21 13:55

How can I prevent XSS attacks in a JSP/Servlet web application?

9条回答
  •  野性不改
    2020-11-21 14:32

    I would suggest regularly testing for vulnerabilities using an automated tool, and fixing whatever it finds. It's a lot easier to suggest a library to help with a specific vulnerability then for all XSS attacks in general.

    Skipfish is an open source tool from Google that I've been investigating: it finds quite a lot of stuff, and seems worth using.

提交回复
热议问题