protect jsp pages againt xss

前端 未结 3 1101
悲哀的现实
悲哀的现实 2021-02-11 05:57

i want to protect my website form xss, and i want to assure that all my data are correct and consistent, so i don\'t want to allow to add any scripts to my db, that\'s because m

3条回答
  •  耶瑟儿~
    2021-02-11 06:38

    In short, you can write filter which does proper escaping of User input(map to relevant URL mapping). There could be readily available plugin to do this but I am not aware.
    You can refer to this thread XSS prevention in JSP/Servlet web application

提交回复
热议问题