<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Pranab Paul's Blog - Development Tips on SharePoint, Office and Web : Captcha antispam sharePoint custom field</title><link>http://blogs.msdn.com/pranab/archive/tags/Captcha+antispam+sharePoint+custom+field/default.aspx</link><description>Tags: Captcha antispam sharePoint custom field</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>SharePoint 2007 (MOOS/WSS) - Custom CAPTCHA (Antispam) Field</title><link>http://blogs.msdn.com/pranab/archive/2008/12/09/sharepoint-2007-moos-wss-custom-captcha-antispam-field.aspx</link><pubDate>Wed, 10 Dec 2008 01:48:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9188106</guid><dc:creator>pranab</dc:creator><slash:comments>14</slash:comments><comments>http://blogs.msdn.com/pranab/comments/9188106.aspx</comments><wfw:commentRss>http://blogs.msdn.com/pranab/commentrss.aspx?PostID=9188106</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Verdana size=2&gt;I saw a nice post in CodeProject (&lt;/FONT&gt;&lt;A title=http://www.codeproject.com/KB/aspnet/CaptchaImage.aspx href="http://www.codeproject.com/KB/aspnet/CaptchaImage.aspx" mce_href="http://www.codeproject.com/KB/aspnet/CaptchaImage.aspx"&gt;&lt;FONT face=Verdana size=2&gt;http://www.codeproject.com/KB/aspnet/CaptchaImage.aspx&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt;) regarding CAPTCHA image control. I used the same code to create a Custom Field that will work like a CAPTCHA field for SharePoint. I tested it with Custom List and Blog Post suceessfully. You need to enable the session in the Web.Config file using enableSessionState="true" as it depends heavily on session. Here is how it looks like:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/pranab/WindowsLiveWriter/SharePoint2007MOOSWSSCustomCAPTCHAAntisp_3C79/captcha.jpg" mce_href="http://blogs.msdn.com/blogfiles/pranab/WindowsLiveWriter/SharePoint2007MOOSWSSCustomCAPTCHAAntisp_3C79/captcha.jpg"&gt;&lt;FONT face=Verdana size=2&gt;&lt;IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=117 alt=captcha src="http://blogs.msdn.com/blogfiles/pranab/WindowsLiveWriter/SharePoint2007MOOSWSSCustomCAPTCHAAntisp_3C79/captcha_thumb.jpg" width=570 border=0 mce_src="http://blogs.msdn.com/blogfiles/pranab/WindowsLiveWriter/SharePoint2007MOOSWSSCustomCAPTCHAAntisp_3C79/captcha_thumb.jpg"&gt;&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Here is the screenshot of the Solution Explorer:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/pranab/WindowsLiveWriter/SharePoint2007MOOSWSSCustomCAPTCHAAntisp_3C79/soexplr.jpg" mce_href="http://blogs.msdn.com/blogfiles/pranab/WindowsLiveWriter/SharePoint2007MOOSWSSCustomCAPTCHAAntisp_3C79/soexplr.jpg"&gt;&lt;FONT face=Verdana size=2&gt;&lt;IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=322 alt=soexplr src="http://blogs.msdn.com/blogfiles/pranab/WindowsLiveWriter/SharePoint2007MOOSWSSCustomCAPTCHAAntisp_3C79/soexplr_thumb.jpg" width=278 border=0 mce_src="http://blogs.msdn.com/blogfiles/pranab/WindowsLiveWriter/SharePoint2007MOOSWSSCustomCAPTCHAAntisp_3C79/soexplr_thumb.jpg"&gt;&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;You can download the WSP file&amp;nbsp;and the project in a zip file from &lt;A class="" title="Code and WSP" href="http://blogs.msdn.com/pranab/attachment/9188106.ashx" mce_href="http://blogs.msdn.com/pranab/attachment/9188106.ashx"&gt;here&lt;/A&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9188106" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/pranab/attachment/9188106.ashx" length="69079" type="application/x-zip-compressed" /><category domain="http://blogs.msdn.com/pranab/archive/tags/Captcha+antispam+sharePoint+custom+field/default.aspx">Captcha antispam sharePoint custom field</category></item></channel></rss>