摘要:Microsoft Anti-XSS (Anti-Cross Site Scripting Library) 避免XSS攻擊
.HtmlEncode()的作法:
Sanitizer的 .GetSafeHtml()方法產生整個網頁
Sanitizer的 .GetSafeHtmlFragment()方法,只過濾內容
2014-11-04
Microsoft Anti-XSS (Anti-Cross Site Scripting Library) 避免XSS攻擊
- 14495
- 0
- ASP.NET 4.5與 VS 2012/2013
- 2020-12-03