How To: Prevent Cross-Site Scripting in ASP.NET

How To: Prevent Cross-Site Scripting in ASP.NET:



Table 1: Character Representation
CharactersDecimalHexadecimalHTML Character SetUnicode
(double quotation marks)&#34&#x22"\u0022
(single quotation mark)&#39&#x27'\u0027
& (ampersand)&#38&#x26&\u0026
< (less than)&#60&#x3C&lt;\u003c
> (greater than)&#62&#x3E&gt;\u003e

留言

這個網誌中的熱門文章