What is the way(best practice) to deal with XSS?

前端 未结 2 1990
太阳男子
太阳男子 2021-01-19 11:08

I am using ASP.NET and on ASP.NET page has validate attribute which checks for the XSS validations. However i would like to know that is it really sufficient ?

I hav

2条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-19 11:56

    Check it out: Allowing HTML and Preventing XSS @ shiflett.org

提交回复
热议问题