title: How to sanitize input and prevent XSS attack
body: <p>I am planning to use CKEDITOR at my asp.net application.</p>
  
  <p>But i see that they don't prevent any way to prevent XSS attack at server side.</p>
  
  <p>So how can i prevent XSS attack ? How can i sanitize input ?</p>
  
  <p>What is the most effective sanitizer for asp.net c# ?</p>
  
  <p>So i am basically looking for a decent solution to sanitize CKEDITOR input and display it back to the users safely. Thank you.</p>
  
  <pre><code>&lt;asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server"&gt;
    &lt;script src="ckeditor/ckeditor.js"&gt;&lt;/script&gt;
  &lt;/asp:Content&gt;
  
  &lt;asp:TextBox ID="ckEditor" TextMode="MultiLine" runat="server" ClientIDMode="Static"&gt;
  &lt;/asp:TextBox&gt;
  
  &lt;script type="text/javascript"&gt;
      CKEDITOR.replace('ckEditor');
  &lt;/script&gt;
  </code></pre>
  
  <p>Thank you</p>