About NeatHtml™ – Brettle.Web.NeatHtml.dll

來源:互聯網
上載者:User
文章目錄
  • Demo
  • Download
  • Documentation

From: http://www.brettle.com/neathtml

About NeatHtml

NeatHtml is a highly-portable open source website component that displays untrusted content securely, efficiently, and accessibly. Untrusted content is any content that is not trusted by the website owner. Typical examples include blog comments, forum posts, or user pages on social networking sites. NeatHtml uses an “accept only known good” (whitelist) approach to security to help prevent attacks which are not yet known. It focuses on preventing Cross-Site Scripting (XSS) attacks but can also prevent phishing attacks and remove automated Cross-Site Request Forgery (CSRF) attacks. In this context, phishing attacks are attacks which try to display untrusted content where the user would trust it, and automated CSRF attacks are CSRF attacks that do not require any user action beyond viewing the untrusted content.

NeatHtml consists of the NeatHtml.js JavaScript library and a small server-side component.  NeatHtml.js should work with any browser that supports both JavaScript 1.3 and a few DOM APIs.  It has been tested against Internet Explorer 6 and 7, Firefox 1.5 and 2.0, Opera 9.21, Netscape 7.2, Mac Safari 1.2, 1.3 and 2.0, and Konqueror 3.4.0-5 and 3.5.7.  The server-side component is approximately 400 lines of ASP.NET code.  It runs under Mono, .NET 1.1, and .NET 2.0, but should be easy to port to other web development platforms (e.g. Java or PHP). To facilitate porting and testing, NeatHtml includes a JavaScript test framework and a demo page which uses the test framework and demonstrates the capabilities of NeatHtml. NeatHtml is licensed under the Lesser General Public License (LGPL), a business-friendly open source license.

NeatHtml is currently available for download as a mature development snapshot. It primarily needs independent testing, and minor security fixes before an official release. Bug reports, feature requests, questions, comments, and other contributions are welcome.


Features

  • Uses a whitelist approach to help prevent attacks that take advantage of currently unknown security holes.
  • XSS prevention is done using client-side script to reduce the load on the server.
  • Allows many common HTML constructs, including most inline styles.
  • Integrates easily with existing applications.
  • Works under Mono, .NET 1.1, and .NET 2.0, and can be easily ported to other development platforms.
  • Licensed under the Lesser General Public License (LGPL), a business-friendly open source license.  See below for details.


Demo

Check out the live demo!
 
Download

NeatHtml-trunk.215.zip is the most recent development snapshot.  It includes both source and precompiled binaries.

The latest  code is always available from the Subversion repository.  You can browse it with your web browser or use a subversion client with a command like this:

svn checkout https://forgesvn1.novell.com/svn/neathtml/trunk


Documentation

Please read the NeatHtml Manual for step-by-step installation and usage instructions.

A whitepaper is available those interested in the techniques used by NeatHtml.

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.