Click here to Skip to main content
15,891,567 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi All,
I'm using ajaxcontrol tool kit for html editor.

I'm concerned to security and cross site attack on my website.

I used sanitizer for ajax toolkit by including it in web.config as below, please let me know if this is sufficient

HTML
<configuration>
<configSections>
  <sectionGroup name="system.web">
	<section name="sanitizer" 
      requirePermission="false" 
      type="AjaxControlToolkit.Sanitizer.ProviderSanitizerSection, 
        AjaxControlToolkit"/>
      </sectionGroup>
</configSections>
<system.web>
	<compilation targetFramework="4.0" debug="true"/>
	<sanitizer defaultProvider="AntiXssSanitizerProvider">
		<providers>
			<add name="AntiXssSanitizerProvider" 
            type="AjaxControlToolkit.Sanitizer.
              AntiXssSanitizerProvider"></add>
		</providers>
	</sanitizer>
</system.web>
</configuration>
Posted
Updated 2-Mar-12 8:10am
v2
Comments
Orcun Iyigun 2-Mar-12 14:10pm    
Updated tags.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900