The role of ASP. ANTIXSS

Source: Internet
Author: User
An XSS cross-site scripting attack is a cross-site attack of a Web site by a user entering HTML encoding.         By using HTML editors such as FCKeditor, Freetextbox, Rich TextBox, Cute Editor, TinyMCE, and so on, users can enter some dangerous characters and inject them into the website in form of XSS. (The general solution is to use the BBCode method, but its expressiveness is not very friendly, and it is not a standard format.) And ANTIXSS is a class library that Microsoft has introduced to prevent XSS, and ANTIXSS works differently from the asp:
  • ANTIXSS uses a white list of trusted characters, and the default implementation of ASP. NET is a blacklist of limited untrusted characters, ANTIXSS only allows known safe input, so it provides more security than a filter that tries to block potentially harmful inputs.
  • The focus of the ANTIXSS library is to prevent program security vulnerabilities, while ASP. NET encoding focuses on preventing HTML page display from being corrupted.

The role of ASP. ANTIXSS

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.