<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Olaf's Thoughts About Development &#187; ServerController</title>
	<atom:link href="http://www.monien.net/blog/index.php" rel="self" type="application/rss+xml" />
	<link>http://www.monien.net/blog</link>
	<description>Delphi Programming, .NET Philosophy, Web development and more ...</description>
	<lastBuildDate>Mon, 14 Mar 2011 15:59:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Disabling &#8220;Loading Animation&#8221; in IntraWeb PageModus</title>
		<link>http://www.monien.net/blog/index.php/2008/08/disabling-loading-animation-in-intraweb-pagemodus/</link>
		<comments>http://www.monien.net/blog/index.php/2008/08/disabling-loading-animation-in-intraweb-pagemodus/#comments</comments>
		<pubDate>Mon, 04 Aug 2008 10:56:12 +0000</pubDate>
		<dc:creator>Olaf Monien</dc:creator>
				<category><![CDATA[Delphi]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[IntraWeb]]></category>
		<category><![CDATA[ISAPI]]></category>
		<category><![CDATA[PageMode]]></category>
		<category><![CDATA[ServerController]]></category>

		<guid isPermaLink="false">http://www.monien.net/blog/?p=189</guid>
		<description><![CDATA[To disable the &#8220;loading animation&#8221;  which has been introduced with IntraWeb 9.0, and which shows up when the user clicked a button and is waiting for the page to re-load you usually just need to set an option in your application&#8217;s ServerController. ServerController.ShowLoadingAnimation := false If you are using IntraWeb&#8217;s PageMode then there is problem [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.monien.net/blog/wp-content/uploads/2008/08/loading.gif"><img class="alignnone size-full wp-image-190" title="loading" src="http://www.monien.net/blog/wp-content/uploads/2008/08/loading.gif" alt="" width="32" height="32" /></a> To disable the &#8220;loading animation&#8221;  which has been introduced with IntraWeb 9.0, and which shows up when the user clicked a button and is waiting for the page to re-load you usually just need to set an option in your application&#8217;s ServerController.<span id="more-189"></span></p>
<pre class="brush: delphi">
ServerController.ShowLoadingAnimation := false
</pre>
<p>If you are using IntraWeb&#8217;s PageMode then there is problem though: PageModus has no explicit ServerController.  Instead, an instance of TIWServerControllerBase is created when TWebModule is created. Inother words to change an option such as ShowLoadingAnimation you have to do that in your PageMode&#8217;s TWebModule:</p>
<pre class="brush: delphi">
uses

IWGlobal ...

procedure TWebModule1.WebModuleCreate(Sender: TObject);
begin
GServerController.ShowLoadingAnimation := false;
end;
</pre>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=Disabling+%22Loading+Animation%22+in+IntraWeb+PageModus&amp;link=http://www.monien.net/blog/index.php/2008/08/disabling-loading-animation-in-intraweb-pagemodus/&amp;notes=%20To%20disable%20the%20%22loading%20animation%22%C2%A0%20which%20has%20been%20introduced%20with%20IntraWeb%209.0%2C%20and%20which%20shows%20up%20when%20the%20user%20clicked%20a%20button%20and%20is%20waiting%20for%20the%20page%20to%20re-load%20you%20usually%20just%20need%20to%20set%20an%20option%20in%20your%20application%27s%20ServerController.%0D%0A%0D%0A%5Bsourcecode%20language%3D%27Delphi%27%5D%0D%0AServerControll&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.monien.net/blog/index.php/2008/08/disabling-loading-animation-in-intraweb-pagemodus/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=Disabling+%22Loading+Animation%22+in+IntraWeb+PageModus&amp;link=http://www.monien.net/blog/index.php/2008/08/disabling-loading-animation-in-intraweb-pagemodus/&amp;notes=%20To%20disable%20the%20%22loading%20animation%22%C2%A0%20which%20has%20been%20introduced%20with%20IntraWeb%209.0%2C%20and%20which%20shows%20up%20when%20the%20user%20clicked%20a%20button%20and%20is%20waiting%20for%20the%20page%20to%20re-load%20you%20usually%20just%20need%20to%20set%20an%20option%20in%20your%20application%27s%20ServerController.%0D%0A%0D%0A%5Bsourcecode%20language%3D%27Delphi%27%5D%0D%0AServerControll&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=Disabling+%22Loading+Animation%22+in+IntraWeb+PageModus&amp;link=http://www.monien.net/blog/index.php/2008/08/disabling-loading-animation-in-intraweb-pagemodus/&amp;notes=%20To%20disable%20the%20%22loading%20animation%22%C2%A0%20which%20has%20been%20introduced%20with%20IntraWeb%209.0%2C%20and%20which%20shows%20up%20when%20the%20user%20clicked%20a%20button%20and%20is%20waiting%20for%20the%20page%20to%20re-load%20you%20usually%20just%20need%20to%20set%20an%20option%20in%20your%20application%27s%20ServerController.%0D%0A%0D%0A%5Bsourcecode%20language%3D%27Delphi%27%5D%0D%0AServerControll&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.shareaholic.com/api/share/?title=Disabling+%22Loading+Animation%22+in+IntraWeb+PageModus&amp;link=http://www.monien.net/blog/index.php/2008/08/disabling-loading-animation-in-intraweb-pagemodus/&amp;notes=%20To%20disable%20the%20%22loading%20animation%22%C2%A0%20which%20has%20been%20introduced%20with%20IntraWeb%209.0%2C%20and%20which%20shows%20up%20when%20the%20user%20clicked%20a%20button%20and%20is%20waiting%20for%20the%20page%20to%20re-load%20you%20usually%20just%20need%20to%20set%20an%20option%20in%20your%20application%27s%20ServerController.%0D%0A%0D%0A%5Bsourcecode%20language%3D%27Delphi%27%5D%0D%0AServerControll&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=Disabling+%22Loading+Animation%22+in+IntraWeb+PageModus&amp;link=http://www.monien.net/blog/index.php/2008/08/disabling-loading-animation-in-intraweb-pagemodus/&amp;notes=%20To%20disable%20the%20%22loading%20animation%22%C2%A0%20which%20has%20been%20introduced%20with%20IntraWeb%209.0%2C%20and%20which%20shows%20up%20when%20the%20user%20clicked%20a%20button%20and%20is%20waiting%20for%20the%20page%20to%20re-load%20you%20usually%20just%20need%20to%20set%20an%20option%20in%20your%20application%27s%20ServerController.%0D%0A%0D%0A%5Bsourcecode%20language%3D%27Delphi%27%5D%0D%0AServerControll&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-technorati">
			<a href="http://www.shareaholic.com/api/share/?title=Disabling+%22Loading+Animation%22+in+IntraWeb+PageModus&amp;link=http://www.monien.net/blog/index.php/2008/08/disabling-loading-animation-in-intraweb-pagemodus/&amp;notes=%20To%20disable%20the%20%22loading%20animation%22%C2%A0%20which%20has%20been%20introduced%20with%20IntraWeb%209.0%2C%20and%20which%20shows%20up%20when%20the%20user%20clicked%20a%20button%20and%20is%20waiting%20for%20the%20page%20to%20re-load%20you%20usually%20just%20need%20to%20set%20an%20option%20in%20your%20application%27s%20ServerController.%0D%0A%0D%0A%5Bsourcecode%20language%3D%27Delphi%27%5D%0D%0AServerControll&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=10&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.monien.net/blog/index.php/2008/08/disabling-loading-animation-in-intraweb-pagemodus/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>IntraWeb compression</title>
		<link>http://www.monien.net/blog/index.php/2008/04/intraweb-compression/</link>
		<comments>http://www.monien.net/blog/index.php/2008/04/intraweb-compression/#comments</comments>
		<pubDate>Tue, 29 Apr 2008 15:22:43 +0000</pubDate>
		<dc:creator>Olaf Monien</dc:creator>
				<category><![CDATA[Delphi]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[IntraWeb]]></category>
		<category><![CDATA[compression]]></category>
		<category><![CDATA[ServerController]]></category>
		<category><![CDATA[Standalone]]></category>

		<guid isPermaLink="false">http://www.monien.net/blog/index.php/2008/04/intraweb-compression/</guid>
		<description><![CDATA[Using IntraWeb&#8217;s integrated compression option you can easily speed up the transfer of your applications forms. Interestingly many IntraWeb users don&#8217;t know that there is a Compression option in the ServerController: just set ServerController.Compression.Enabled = true and IntraWeb will compress all pages sent to the web browser. If the Web browser doesn&#8217;t support compression, then [...]]]></description>
			<content:encoded><![CDATA[<p>Using IntraWeb&#8217;s integrated compression option you can easily speed up the transfer of your applications forms.<span id="more-27"></span></p>
<p>Interestingly many IntraWeb users don&#8217;t know that there is a Compression option in the ServerController:</p>
<p>just set <span style="font-style: italic;">ServerController.Compression.Enabled</span> <span style="font-style: italic;">= true </span>and IntraWeb will compress all pages sent to the web browser. If the Web browser doesn&#8217;t support compression, then IntraWeb will of course detect that and send uncompressed.</p>
<p>The only requirement is to put a zlib.dll into the application&#8217;s directory. A working version can be downloaded <a href="http://downloads.atozed.com/intraweb/zlib.zip" target="_Blank">here</a>. No changes/settings on the client side are necessary.</p>
<p>There is one trade-off though which you should keep in mind: compression takes CPU cycles. Thats no problem for the client, but if your server machine is already close to its limit, then compression might not be a so good idea ..</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=IntraWeb+compression&amp;link=http://www.monien.net/blog/index.php/2008/04/intraweb-compression/&amp;notes=Using%20IntraWeb%27s%20integrated%20compression%20option%20you%20can%20easily%20speed%20up%20the%20transfer%20of%20your%20applications%20forms.%0D%0A%0D%0AInterestingly%20many%20IntraWeb%20users%20don%27t%20know%20that%20there%20is%20a%20Compression%20option%20in%20the%20ServerController%3A%0D%0A%0D%0Ajust%20set%20ServerController.Compression.Enabled%20%3D%20true%20and%20IntraWeb%20will%20compre&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.monien.net/blog/index.php/2008/04/intraweb-compression/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=IntraWeb+compression&amp;link=http://www.monien.net/blog/index.php/2008/04/intraweb-compression/&amp;notes=Using%20IntraWeb%27s%20integrated%20compression%20option%20you%20can%20easily%20speed%20up%20the%20transfer%20of%20your%20applications%20forms.%0D%0A%0D%0AInterestingly%20many%20IntraWeb%20users%20don%27t%20know%20that%20there%20is%20a%20Compression%20option%20in%20the%20ServerController%3A%0D%0A%0D%0Ajust%20set%20ServerController.Compression.Enabled%20%3D%20true%20and%20IntraWeb%20will%20compre&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=IntraWeb+compression&amp;link=http://www.monien.net/blog/index.php/2008/04/intraweb-compression/&amp;notes=Using%20IntraWeb%27s%20integrated%20compression%20option%20you%20can%20easily%20speed%20up%20the%20transfer%20of%20your%20applications%20forms.%0D%0A%0D%0AInterestingly%20many%20IntraWeb%20users%20don%27t%20know%20that%20there%20is%20a%20Compression%20option%20in%20the%20ServerController%3A%0D%0A%0D%0Ajust%20set%20ServerController.Compression.Enabled%20%3D%20true%20and%20IntraWeb%20will%20compre&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.shareaholic.com/api/share/?title=IntraWeb+compression&amp;link=http://www.monien.net/blog/index.php/2008/04/intraweb-compression/&amp;notes=Using%20IntraWeb%27s%20integrated%20compression%20option%20you%20can%20easily%20speed%20up%20the%20transfer%20of%20your%20applications%20forms.%0D%0A%0D%0AInterestingly%20many%20IntraWeb%20users%20don%27t%20know%20that%20there%20is%20a%20Compression%20option%20in%20the%20ServerController%3A%0D%0A%0D%0Ajust%20set%20ServerController.Compression.Enabled%20%3D%20true%20and%20IntraWeb%20will%20compre&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=IntraWeb+compression&amp;link=http://www.monien.net/blog/index.php/2008/04/intraweb-compression/&amp;notes=Using%20IntraWeb%27s%20integrated%20compression%20option%20you%20can%20easily%20speed%20up%20the%20transfer%20of%20your%20applications%20forms.%0D%0A%0D%0AInterestingly%20many%20IntraWeb%20users%20don%27t%20know%20that%20there%20is%20a%20Compression%20option%20in%20the%20ServerController%3A%0D%0A%0D%0Ajust%20set%20ServerController.Compression.Enabled%20%3D%20true%20and%20IntraWeb%20will%20compre&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-technorati">
			<a href="http://www.shareaholic.com/api/share/?title=IntraWeb+compression&amp;link=http://www.monien.net/blog/index.php/2008/04/intraweb-compression/&amp;notes=Using%20IntraWeb%27s%20integrated%20compression%20option%20you%20can%20easily%20speed%20up%20the%20transfer%20of%20your%20applications%20forms.%0D%0A%0D%0AInterestingly%20many%20IntraWeb%20users%20don%27t%20know%20that%20there%20is%20a%20Compression%20option%20in%20the%20ServerController%3A%0D%0A%0D%0Ajust%20set%20ServerController.Compression.Enabled%20%3D%20true%20and%20IntraWeb%20will%20compre&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=10&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.monien.net/blog/index.php/2008/04/intraweb-compression/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Overriding LogBytes in Custom IntraWeb Standalone Application</title>
		<link>http://www.monien.net/blog/index.php/2008/04/overriding-logbytes-in-custom-intraweb-standalone-application/</link>
		<comments>http://www.monien.net/blog/index.php/2008/04/overriding-logbytes-in-custom-intraweb-standalone-application/#comments</comments>
		<pubDate>Mon, 28 Apr 2008 22:00:00 +0000</pubDate>
		<dc:creator>Olaf Monien</dc:creator>
				<category><![CDATA[Delphi]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[IntraWeb]]></category>
		<category><![CDATA[log]]></category>
		<category><![CDATA[ServerController]]></category>
		<category><![CDATA[Standalone]]></category>

		<guid isPermaLink="false">http://www.monien.net/blog/index.php/2008/04/overriding-logbytes-in-custom-intraweb-standalone-application/</guid>
		<description><![CDATA[Even though we don&#8217;t really recommend using IntraWeb&#8217;s desktop standalone mode in production, there seem to be quite some IntraWeb customers who do that successfully. Unfortunately there is an integrated Log routine which may cause an Integer overflow if your application had more than 2GB traffic. This article shows how to override that routine. Running [...]]]></description>
			<content:encoded><![CDATA[<p>Even though we don&#8217;t really recommend using IntraWeb&#8217;s desktop standalone mode in production, there seem to be quite some IntraWeb customers who do that successfully. Unfortunately there is an integrated Log routine which may cause an Integer overflow if your application had more than 2GB traffic. This article shows how to override that routine.<span id="more-179"></span></p>
<p>Running IntraWeb applications right off your desktop is simple and fast. Just compile and run, and you have a working HTTP server. For production we recommend installing as service or as ISAPI application though.</p>
<p>Running a Web server on a Windows desktop &#8211; where you need to be logged in &#8211; is not what you want typically.</p>
<p>However, for product demonstrations, long testing sessions etc. it might make sense to use an IntraWeb Standlone application that way. You could even run an IntraWeb application right off a CD. For that purpose<br />
we offer a way to customize the more or less ugly default Standalone form. This can be done by just dropping a TIWStandaloneServer component onto a standard Windows VCL form. For more details see the<br />
CustomStandAlone demo, which can be found in the &#8220;demos&#8221; folder where you installed IntraWeb.</p>
<p>We just got a customer inquiry, where a customized IntraWeb standalone application raises an Integer overflow after &#8220;lots of traffic&#8221;. The customer is implementing an online game with many graphics transfered.</p>
<p>The source of that problem is a LogBytes rountine which counts the transfered data using an Integer variable. In other words, after 2GB of data transfered the application will show an error.</p>
<p><span style="font-weight: bold;">Note: This error only applies to <span style="color: #ff0000;">Desktop Standalone</span> Applications.<br />
<span style="color: #0000ff;">ISAPI and Service type Standalone applications are not affected</span>!</span></p>
<p>The next minor IntraWeb release (9.0.40) correctly handles that situation, and the next major release (9.1 or 10.0) will upgrade the variable in question to In64.</p>
<p>If you are using IntraWeb desktop applications in the described way, then add the following to your custom Standalone form:</p>
<pre class="brush: delphi">
private
  FTotalBytes := Int64;
  ...

procedure TFormCustom.LogBytes(const ABytes: Integer);
begin
FTotalBytes := FTotalBytes + ABytes;
//If you want to display the bytes transfered, then call your update routine here
//Or more resource friendly add a TTimer that updates your Byte counter
end;

procedure TFormCustom.FormCreate(Sender: TObject);
begin
memoLog.Lines.Add(&#039;Server started&#039;);
memoLog.Lines.Add(&#039;Listening on port: &#039; + IntToStr(GServerController.Port));
memoLog.Lines.Add(&#039;&#039;);
GLogBytesProcedure := LogBytes;
end;
</pre>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=Overriding+LogBytes+in+Custom+IntraWeb+Standalone+Application&amp;link=http://www.monien.net/blog/index.php/2008/04/overriding-logbytes-in-custom-intraweb-standalone-application/&amp;notes=Even%20though%20we%20don%27t%20really%20recommend%20using%20IntraWeb%27s%20desktop%20standalone%20mode%20in%20production%2C%20there%20seem%20to%20be%20quite%20some%20IntraWeb%20customers%20who%20do%20that%20successfully.%20Unfortunately%20there%20is%20an%20integrated%20Log%20routine%20which%20may%20cause%20an%20Integer%20overflow%20if%20your%20application%20had%20more%20than%202GB%20traffic.%20T&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.monien.net/blog/index.php/2008/04/overriding-logbytes-in-custom-intraweb-standalone-application/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=Overriding+LogBytes+in+Custom+IntraWeb+Standalone+Application&amp;link=http://www.monien.net/blog/index.php/2008/04/overriding-logbytes-in-custom-intraweb-standalone-application/&amp;notes=Even%20though%20we%20don%27t%20really%20recommend%20using%20IntraWeb%27s%20desktop%20standalone%20mode%20in%20production%2C%20there%20seem%20to%20be%20quite%20some%20IntraWeb%20customers%20who%20do%20that%20successfully.%20Unfortunately%20there%20is%20an%20integrated%20Log%20routine%20which%20may%20cause%20an%20Integer%20overflow%20if%20your%20application%20had%20more%20than%202GB%20traffic.%20T&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=Overriding+LogBytes+in+Custom+IntraWeb+Standalone+Application&amp;link=http://www.monien.net/blog/index.php/2008/04/overriding-logbytes-in-custom-intraweb-standalone-application/&amp;notes=Even%20though%20we%20don%27t%20really%20recommend%20using%20IntraWeb%27s%20desktop%20standalone%20mode%20in%20production%2C%20there%20seem%20to%20be%20quite%20some%20IntraWeb%20customers%20who%20do%20that%20successfully.%20Unfortunately%20there%20is%20an%20integrated%20Log%20routine%20which%20may%20cause%20an%20Integer%20overflow%20if%20your%20application%20had%20more%20than%202GB%20traffic.%20T&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.shareaholic.com/api/share/?title=Overriding+LogBytes+in+Custom+IntraWeb+Standalone+Application&amp;link=http://www.monien.net/blog/index.php/2008/04/overriding-logbytes-in-custom-intraweb-standalone-application/&amp;notes=Even%20though%20we%20don%27t%20really%20recommend%20using%20IntraWeb%27s%20desktop%20standalone%20mode%20in%20production%2C%20there%20seem%20to%20be%20quite%20some%20IntraWeb%20customers%20who%20do%20that%20successfully.%20Unfortunately%20there%20is%20an%20integrated%20Log%20routine%20which%20may%20cause%20an%20Integer%20overflow%20if%20your%20application%20had%20more%20than%202GB%20traffic.%20T&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=Overriding+LogBytes+in+Custom+IntraWeb+Standalone+Application&amp;link=http://www.monien.net/blog/index.php/2008/04/overriding-logbytes-in-custom-intraweb-standalone-application/&amp;notes=Even%20though%20we%20don%27t%20really%20recommend%20using%20IntraWeb%27s%20desktop%20standalone%20mode%20in%20production%2C%20there%20seem%20to%20be%20quite%20some%20IntraWeb%20customers%20who%20do%20that%20successfully.%20Unfortunately%20there%20is%20an%20integrated%20Log%20routine%20which%20may%20cause%20an%20Integer%20overflow%20if%20your%20application%20had%20more%20than%202GB%20traffic.%20T&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-technorati">
			<a href="http://www.shareaholic.com/api/share/?title=Overriding+LogBytes+in+Custom+IntraWeb+Standalone+Application&amp;link=http://www.monien.net/blog/index.php/2008/04/overriding-logbytes-in-custom-intraweb-standalone-application/&amp;notes=Even%20though%20we%20don%27t%20really%20recommend%20using%20IntraWeb%27s%20desktop%20standalone%20mode%20in%20production%2C%20there%20seem%20to%20be%20quite%20some%20IntraWeb%20customers%20who%20do%20that%20successfully.%20Unfortunately%20there%20is%20an%20integrated%20Log%20routine%20which%20may%20cause%20an%20Integer%20overflow%20if%20your%20application%20had%20more%20than%202GB%20traffic.%20T&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=10&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.monien.net/blog/index.php/2008/04/overriding-logbytes-in-custom-intraweb-standalone-application/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>BCB 2007 IntraWeb ISAPI Application</title>
		<link>http://www.monien.net/blog/index.php/2007/07/bcb-2007-intraweb-isapi-application/</link>
		<comments>http://www.monien.net/blog/index.php/2007/07/bcb-2007-intraweb-isapi-application/#comments</comments>
		<pubDate>Mon, 23 Jul 2007 22:00:00 +0000</pubDate>
		<dc:creator>Olaf Monien</dc:creator>
				<category><![CDATA[Delphi]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[IntraWeb]]></category>
		<category><![CDATA[CodeGear]]></category>
		<category><![CDATA[ServerController]]></category>

		<guid isPermaLink="false">http://www.monien.net/blog/index.php/2007/07/bcb-2007-intraweb-isapi-application/</guid>
		<description><![CDATA[In BCB 2007 the IntraWeb application wizard fails to create one file. This article provides an ISAPI application template project which you can use to start off your C++ Builder IntraWeb applications. We have just noticed, that the &#8220;VCL for the Web Application Wizard&#8221; fails to create an important file if you chose Application Type [...]]]></description>
			<content:encoded><![CDATA[<p>In BCB 2007 the IntraWeb application wizard fails to create one file. This article provides an ISAPI application template project which you can use to start off your C++ Builder IntraWeb applications.<span id="more-153"></span></p>
<p>We have just noticed, that the &#8220;VCL for the Web Application Wizard&#8221; fails to create an important file if you chose Application Type &#8220;ISAPI&#8221;.</p>
<p>Interestingly, if you create a new &#8220;WebBroker&#8221; ISAPI application (i.e. using CodeGear&#8217;s wizard ), that project will miss the same file. We did not look yet what the exact reason for this is, but for now just use the template project provided below as starting point for ISAPI IntraWeb applications.</p>
<p style="margin-left: 40px;"><img src="images/zip.gif" border="0" alt="" align="top" /> <a title="ISAPITemplate" href="/blog/wp-content/uploads/2008/07/files/ISAPITemplate.zip">ISAPITemplate.zip</a></p>
<p><span style="font-style: italic;">Note: Only C++ Builder 2007 is affected. Do not download the file above if you are a Delphi 2007 user.</span></p>
<p>As sidenote, it appears that importing old C++ IntraWeb ISAPI projects from BDS2006 into BCB 2007 does not work smoothly either. The application type somehow gets mixed up. The result looks like a library project (as expected), but the linker apparently treats it as executable, resulting in errors. My current advice is to start from the template above too, and then add your forms, servercontroller and usersession files  from your old project.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=BCB+2007+IntraWeb+ISAPI+Application&amp;link=http://www.monien.net/blog/index.php/2007/07/bcb-2007-intraweb-isapi-application/&amp;notes=In%20BCB%202007%20the%20IntraWeb%20application%20wizard%20fails%20to%20create%20one%20file.%20This%20article%20provides%20an%20ISAPI%20application%20template%20project%20which%20you%20can%20use%20to%20start%20off%20your%20C%2B%2B%20Builder%20IntraWeb%20applications.%0D%0A%0D%0AWe%20have%20just%20noticed%2C%20that%20the%20%22VCL%20for%20the%20Web%20Application%20Wizard%22%20fails%20to%20create%20an%20important&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.monien.net/blog/index.php/2007/07/bcb-2007-intraweb-isapi-application/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=BCB+2007+IntraWeb+ISAPI+Application&amp;link=http://www.monien.net/blog/index.php/2007/07/bcb-2007-intraweb-isapi-application/&amp;notes=In%20BCB%202007%20the%20IntraWeb%20application%20wizard%20fails%20to%20create%20one%20file.%20This%20article%20provides%20an%20ISAPI%20application%20template%20project%20which%20you%20can%20use%20to%20start%20off%20your%20C%2B%2B%20Builder%20IntraWeb%20applications.%0D%0A%0D%0AWe%20have%20just%20noticed%2C%20that%20the%20%22VCL%20for%20the%20Web%20Application%20Wizard%22%20fails%20to%20create%20an%20important&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=BCB+2007+IntraWeb+ISAPI+Application&amp;link=http://www.monien.net/blog/index.php/2007/07/bcb-2007-intraweb-isapi-application/&amp;notes=In%20BCB%202007%20the%20IntraWeb%20application%20wizard%20fails%20to%20create%20one%20file.%20This%20article%20provides%20an%20ISAPI%20application%20template%20project%20which%20you%20can%20use%20to%20start%20off%20your%20C%2B%2B%20Builder%20IntraWeb%20applications.%0D%0A%0D%0AWe%20have%20just%20noticed%2C%20that%20the%20%22VCL%20for%20the%20Web%20Application%20Wizard%22%20fails%20to%20create%20an%20important&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.shareaholic.com/api/share/?title=BCB+2007+IntraWeb+ISAPI+Application&amp;link=http://www.monien.net/blog/index.php/2007/07/bcb-2007-intraweb-isapi-application/&amp;notes=In%20BCB%202007%20the%20IntraWeb%20application%20wizard%20fails%20to%20create%20one%20file.%20This%20article%20provides%20an%20ISAPI%20application%20template%20project%20which%20you%20can%20use%20to%20start%20off%20your%20C%2B%2B%20Builder%20IntraWeb%20applications.%0D%0A%0D%0AWe%20have%20just%20noticed%2C%20that%20the%20%22VCL%20for%20the%20Web%20Application%20Wizard%22%20fails%20to%20create%20an%20important&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=BCB+2007+IntraWeb+ISAPI+Application&amp;link=http://www.monien.net/blog/index.php/2007/07/bcb-2007-intraweb-isapi-application/&amp;notes=In%20BCB%202007%20the%20IntraWeb%20application%20wizard%20fails%20to%20create%20one%20file.%20This%20article%20provides%20an%20ISAPI%20application%20template%20project%20which%20you%20can%20use%20to%20start%20off%20your%20C%2B%2B%20Builder%20IntraWeb%20applications.%0D%0A%0D%0AWe%20have%20just%20noticed%2C%20that%20the%20%22VCL%20for%20the%20Web%20Application%20Wizard%22%20fails%20to%20create%20an%20important&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-technorati">
			<a href="http://www.shareaholic.com/api/share/?title=BCB+2007+IntraWeb+ISAPI+Application&amp;link=http://www.monien.net/blog/index.php/2007/07/bcb-2007-intraweb-isapi-application/&amp;notes=In%20BCB%202007%20the%20IntraWeb%20application%20wizard%20fails%20to%20create%20one%20file.%20This%20article%20provides%20an%20ISAPI%20application%20template%20project%20which%20you%20can%20use%20to%20start%20off%20your%20C%2B%2B%20Builder%20IntraWeb%20applications.%0D%0A%0D%0AWe%20have%20just%20noticed%2C%20that%20the%20%22VCL%20for%20the%20Web%20Application%20Wizard%22%20fails%20to%20create%20an%20important&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=10&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.monien.net/blog/index.php/2007/07/bcb-2007-intraweb-isapi-application/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Hardening IntraWeb 9.0 with SSL Version 3</title>
		<link>http://www.monien.net/blog/index.php/2007/07/hardening-intraweb-90-with-ssl-version-3/</link>
		<comments>http://www.monien.net/blog/index.php/2007/07/hardening-intraweb-90-with-ssl-version-3/#comments</comments>
		<pubDate>Mon, 09 Jul 2007 22:00:00 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[IntraWeb]]></category>
		<category><![CDATA[ServerController]]></category>

		<guid isPermaLink="false">http://www.monien.net/blog/index.php/2007/07/hardening-intraweb-90-with-ssl-version-3/</guid>
		<description><![CDATA[If you are using SSL with your IntraWeb Standalone applications, then you might consider allowing SSL version 3 only, as there are exploits for version 2 and below. This article describes how to limit your server to SSL version 3. If you are transferring sensible data between your IntraWeb server and your clients web browsers, [...]]]></description>
			<content:encoded><![CDATA[<p>If you are using SSL with your IntraWeb Standalone applications, then you might consider allowing SSL version 3 only, as there are exploits for version 2 and below. This article describes how to limit your server to SSL version 3.<span id="more-152"></span>
<p>If you are transferring sensible data between your IntraWeb server and your clients web browsers, then you should think about using SSL / HTTPS to encrypt the transmitted data. Unfortunately there are SSL exploits for SSL Version 2, which simply put make SSL V2 useless (in terms of security). SSL Version 3 does not suffer from these exploits, and it&#8217;s highly recommended to use SSLV3 <span style="font-weight: bold;">only</span>. </p>
<p>There are efforts by Web browser vendors to accept SSLV3 connections only, but as you can not control what the user is using, you should restrict your server to SSLV3 only.</p>
<p>If you are using SSL/HTTPS with your IntraWeb application, then there are two cases to consider:</p>
<ol>
<li>IntraWeb application deployed as ISAPI dll (or DSO).<br />In ISAPI/DSO mode IntraWeb does not handle SSL/HTTP communication, this is the responsibility of the hosting Web server. In other words you have to read the manual of your Web server, how to make sure that SSLV3 is used only. Information for IIS is <a href="http://support.microsoft.com/kb/187498/en-us" target="_Blank">found here</a>. </li>
<li>IntraWeb application deployed as standalone executable.<br />By default IntraWeb offers SSLV2 and SSLV3 to client web browsers. To restrict to SSL V3 you have to follow the steps at the bottom of this article.</li>
</ol>
<p>The next version of IntraWeb will use restrict to SSLV3 by default.</p>
<h4>Restricting an IntraWeb Standalone to SSL V3<br /></h4>
<p>A <a href="2006_08_14_A.EN.aspx">while ago</a> I already blogged about how to restrict to SSL V3. Due to a change in IntraWeb 9.0, you have to apply the code a bit differently, as advised in my old post. Please add the lines <span style="font-weight: bold; color: rgb(0, 0, 255);">marked in blue</span> to your DPR file, as shown in the example below.</p>
<pre>program StandAloneSSL;

uses  Forms,  IWMain,<span style="font-weight: bold; color: rgb(0, 0, 255);">  IWHTTPServer,</span><br style="font-weight: bold; color: rgb(0, 0, 255);"><span style="font-weight: bold; color: rgb(0, 0, 255);">  InSSLOpenSSL,</span>  ServerController in 'ServerController.pas' {IWServerController: TIWServerController},  Main in 'Main.pas' {IWForm1: TIWFormModuleBase},  SecureForm in 'SecureForm.pas' {IWForm2: TIWAppForm},  NonSecureForm in 'NonSecureForm.pas' {IWForm3: TIWAppForm};

{$R *.res}

begin  Application.Initialize;  Application.CreateForm(TformIWMain, formIWMain);

<span style="font-weight: bold; color: rgb(0, 0, 255);">  if assigned(GHTTPServer) and assigned(GHTTPServer.HTTPS) then begin</span><br style="font-weight: bold; color: rgb(0, 0, 255);"><span style="font-weight: bold; color: rgb(0, 0, 255);">    GHTTPServer.HTTPS.Active := false;</span><br style="font-weight: bold; color: rgb(0, 0, 255);"><span style="font-weight: bold; color: rgb(0, 0, 255);">    TInServerIOHandlerSSLOpenSSL(GHTTPServer.HTTPS.IOHandler).SSLOptions.Method := sslvSSLv3;</span><br style="font-weight: bold; color: rgb(0, 0, 255);"><span style="font-weight: bold; color: rgb(0, 0, 255);">    GHTTPServer.HTTPS.Active := true;</span><br style="font-weight: bold; color: rgb(0, 0, 255);"><span style="font-weight: bold; color: rgb(0, 0, 255);">  end;</span>

  Application.Run;end. </pre>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=Hardening+IntraWeb+9.0+with+SSL+Version+3&amp;link=http://www.monien.net/blog/index.php/2007/07/hardening-intraweb-90-with-ssl-version-3/&amp;notes=If%20you%20are%20using%20SSL%20with%20your%20IntraWeb%20Standalone%20applications%2C%20then%20you%20might%20consider%20allowing%20SSL%20version%203%20only%2C%20as%20there%20are%20exploits%20for%20version%202%20and%20below.%20This%20article%20describes%20how%20to%20limit%20your%20server%20to%20SSL%20version%203.If%20you%20are%20transferring%20sensible%20data%20between%20your%20IntraWeb%20server%20and&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.monien.net/blog/index.php/2007/07/hardening-intraweb-90-with-ssl-version-3/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=Hardening+IntraWeb+9.0+with+SSL+Version+3&amp;link=http://www.monien.net/blog/index.php/2007/07/hardening-intraweb-90-with-ssl-version-3/&amp;notes=If%20you%20are%20using%20SSL%20with%20your%20IntraWeb%20Standalone%20applications%2C%20then%20you%20might%20consider%20allowing%20SSL%20version%203%20only%2C%20as%20there%20are%20exploits%20for%20version%202%20and%20below.%20This%20article%20describes%20how%20to%20limit%20your%20server%20to%20SSL%20version%203.If%20you%20are%20transferring%20sensible%20data%20between%20your%20IntraWeb%20server%20and&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=Hardening+IntraWeb+9.0+with+SSL+Version+3&amp;link=http://www.monien.net/blog/index.php/2007/07/hardening-intraweb-90-with-ssl-version-3/&amp;notes=If%20you%20are%20using%20SSL%20with%20your%20IntraWeb%20Standalone%20applications%2C%20then%20you%20might%20consider%20allowing%20SSL%20version%203%20only%2C%20as%20there%20are%20exploits%20for%20version%202%20and%20below.%20This%20article%20describes%20how%20to%20limit%20your%20server%20to%20SSL%20version%203.If%20you%20are%20transferring%20sensible%20data%20between%20your%20IntraWeb%20server%20and&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.shareaholic.com/api/share/?title=Hardening+IntraWeb+9.0+with+SSL+Version+3&amp;link=http://www.monien.net/blog/index.php/2007/07/hardening-intraweb-90-with-ssl-version-3/&amp;notes=If%20you%20are%20using%20SSL%20with%20your%20IntraWeb%20Standalone%20applications%2C%20then%20you%20might%20consider%20allowing%20SSL%20version%203%20only%2C%20as%20there%20are%20exploits%20for%20version%202%20and%20below.%20This%20article%20describes%20how%20to%20limit%20your%20server%20to%20SSL%20version%203.If%20you%20are%20transferring%20sensible%20data%20between%20your%20IntraWeb%20server%20and&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=Hardening+IntraWeb+9.0+with+SSL+Version+3&amp;link=http://www.monien.net/blog/index.php/2007/07/hardening-intraweb-90-with-ssl-version-3/&amp;notes=If%20you%20are%20using%20SSL%20with%20your%20IntraWeb%20Standalone%20applications%2C%20then%20you%20might%20consider%20allowing%20SSL%20version%203%20only%2C%20as%20there%20are%20exploits%20for%20version%202%20and%20below.%20This%20article%20describes%20how%20to%20limit%20your%20server%20to%20SSL%20version%203.If%20you%20are%20transferring%20sensible%20data%20between%20your%20IntraWeb%20server%20and&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-technorati">
			<a href="http://www.shareaholic.com/api/share/?title=Hardening+IntraWeb+9.0+with+SSL+Version+3&amp;link=http://www.monien.net/blog/index.php/2007/07/hardening-intraweb-90-with-ssl-version-3/&amp;notes=If%20you%20are%20using%20SSL%20with%20your%20IntraWeb%20Standalone%20applications%2C%20then%20you%20might%20consider%20allowing%20SSL%20version%203%20only%2C%20as%20there%20are%20exploits%20for%20version%202%20and%20below.%20This%20article%20describes%20how%20to%20limit%20your%20server%20to%20SSL%20version%203.If%20you%20are%20transferring%20sensible%20data%20between%20your%20IntraWeb%20server%20and&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=10&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.monien.net/blog/index.php/2007/07/hardening-intraweb-90-with-ssl-version-3/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Updated IntraWeb DOS Attack Hotfix available (Update: 16.02.2007)</title>
		<link>http://www.monien.net/blog/index.php/2007/01/updated-intraweb-dos-attack-hotfix-available-update-16022007/</link>
		<comments>http://www.monien.net/blog/index.php/2007/01/updated-intraweb-dos-attack-hotfix-available-update-16022007/#comments</comments>
		<pubDate>Sun, 28 Jan 2007 23:00:00 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Delphi]]></category>
		<category><![CDATA[IntraWeb]]></category>
		<category><![CDATA[ServerController]]></category>

		<guid isPermaLink="false">http://www.monien.net/blog/index.php/2007/01/updated-intraweb-dos-attack-hotfix-available-update-16022007/</guid>
		<description><![CDATA[Last week a possible DOS attack of IntraWeb applications was reported. The first hotfix we released immediately after the report was made public may cause unwanted side effects. Please use the updated hotfix as shown in this article. The first hotfix for the possible DOS attack may cause unexpected side effects under certain conditions. The [...]]]></description>
			<content:encoded><![CDATA[<p>Last week a possible DOS attack of IntraWeb applications was reported. The first hotfix we released immediately after the report was made public may cause unwanted side effects. Please use the updated hotfix as shown in this article.<span id="more-141"></span>
<p>The first hotfix for the possible <a href="20070124A.EN.aspx">DOS attack</a> may cause unexpected side effects under certain conditions. </p>
<p>The DOS (Denial-Of-Service) attack is based on manipulated HTTP requests. Certain manipulations &#8211; which are not explained here &#8211; may lead to unexpected behaviour of certain Delphi string routines. This caused an infinite loop in IntraWeb&#8217;s request processing. The internal fix in IntraWeb 9.0.12 was to use a &#8220;stable&#8221; variant of this string handling routine. </p>
<p>However, for older IntraWeb versions you have to manually apply a workaround in your application&#8217;s source code, because you don&#8217;t have access to IntraWeb&#8217;s internal request processing. The first approach of this work around was to try &#8220;healing&#8221; these manipulations. After some more research we found it to be much safer to completely ignore such manipulated requests though. The attack is based on an explicit HTTP manipulation. If manipulation occurs, then ignoring such a manipulation is &#8220;harmless&#8221;.</p>
<p>To protect your application against this DOS attack please follow these steps:</p>
<ol>
<li>If you have IntraWeb 9.0.12 or higher then no action is needed</li>
<li>IntraWeb 9.0.11 an all versions below follow these steps</li>
<ol>
<li>Open your ServerController.pas unit and add an OnBeforeDispatch event handler.</li>
</ol>
<ol>
<li>Add the following bold line to the event handler created in step one</li>
</ol>
<ol>
<li>If you already have an OnBeforeDispatch handler then add these lines above your own code</li>
</ol>
</ol>
<p><font size="-1"><span style="font-family: Courier New;"><span style="font-weight: bold;">uses HTTPApp;</span><br />&#8230;<br />procedure TIWServerController.IWServerControllerBaseBeforeDispatch(Sender:</span><br style="font-family: Courier New;"><span style="font-family: Courier New;">    TObject; Request: TWebRequest; Response: TWebResponse; var Handled:</span><br style="font-family: Courier New;"><span style="font-family: Courier New;">    Boolean);</span><br style="font-family: Courier New;"><span style="font-family: Courier New;">begin</span><br style="font-family: Courier New;"><span style="font-family: Courier New; font-weight: bold;">    if (pos(&#8216;multipart&#8217;, Request.ContentType) = 0)<br />      and (pos(#$26#$26, Request.Content) &gt; 0) then<br />        Request.ContentFields.Text := &#8221;;</span><br style="font-family: Courier New;"><span style="font-family: Courier New;">end;</span></font>
<p></p>
<p></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=Updated+IntraWeb+DOS+Attack+Hotfix+available+%28Update%3A+16.02.2007%29&amp;link=http://www.monien.net/blog/index.php/2007/01/updated-intraweb-dos-attack-hotfix-available-update-16022007/&amp;notes=Last%20week%20a%20possible%20DOS%20attack%20of%20IntraWeb%20applications%20was%20reported.%20The%20first%20hotfix%20we%20released%20immediately%20after%20the%20report%20was%20made%20public%20may%20cause%20unwanted%20side%20effects.%20Please%20use%20the%20updated%20hotfix%20as%20shown%20in%20this%20article.The%20first%20hotfix%20for%20the%20possible%20DOS%20attack%20may%20cause%20unexpected%20s&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.monien.net/blog/index.php/2007/01/updated-intraweb-dos-attack-hotfix-available-update-16022007/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=Updated+IntraWeb+DOS+Attack+Hotfix+available+%28Update%3A+16.02.2007%29&amp;link=http://www.monien.net/blog/index.php/2007/01/updated-intraweb-dos-attack-hotfix-available-update-16022007/&amp;notes=Last%20week%20a%20possible%20DOS%20attack%20of%20IntraWeb%20applications%20was%20reported.%20The%20first%20hotfix%20we%20released%20immediately%20after%20the%20report%20was%20made%20public%20may%20cause%20unwanted%20side%20effects.%20Please%20use%20the%20updated%20hotfix%20as%20shown%20in%20this%20article.The%20first%20hotfix%20for%20the%20possible%20DOS%20attack%20may%20cause%20unexpected%20s&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=Updated+IntraWeb+DOS+Attack+Hotfix+available+%28Update%3A+16.02.2007%29&amp;link=http://www.monien.net/blog/index.php/2007/01/updated-intraweb-dos-attack-hotfix-available-update-16022007/&amp;notes=Last%20week%20a%20possible%20DOS%20attack%20of%20IntraWeb%20applications%20was%20reported.%20The%20first%20hotfix%20we%20released%20immediately%20after%20the%20report%20was%20made%20public%20may%20cause%20unwanted%20side%20effects.%20Please%20use%20the%20updated%20hotfix%20as%20shown%20in%20this%20article.The%20first%20hotfix%20for%20the%20possible%20DOS%20attack%20may%20cause%20unexpected%20s&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.shareaholic.com/api/share/?title=Updated+IntraWeb+DOS+Attack+Hotfix+available+%28Update%3A+16.02.2007%29&amp;link=http://www.monien.net/blog/index.php/2007/01/updated-intraweb-dos-attack-hotfix-available-update-16022007/&amp;notes=Last%20week%20a%20possible%20DOS%20attack%20of%20IntraWeb%20applications%20was%20reported.%20The%20first%20hotfix%20we%20released%20immediately%20after%20the%20report%20was%20made%20public%20may%20cause%20unwanted%20side%20effects.%20Please%20use%20the%20updated%20hotfix%20as%20shown%20in%20this%20article.The%20first%20hotfix%20for%20the%20possible%20DOS%20attack%20may%20cause%20unexpected%20s&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=Updated+IntraWeb+DOS+Attack+Hotfix+available+%28Update%3A+16.02.2007%29&amp;link=http://www.monien.net/blog/index.php/2007/01/updated-intraweb-dos-attack-hotfix-available-update-16022007/&amp;notes=Last%20week%20a%20possible%20DOS%20attack%20of%20IntraWeb%20applications%20was%20reported.%20The%20first%20hotfix%20we%20released%20immediately%20after%20the%20report%20was%20made%20public%20may%20cause%20unwanted%20side%20effects.%20Please%20use%20the%20updated%20hotfix%20as%20shown%20in%20this%20article.The%20first%20hotfix%20for%20the%20possible%20DOS%20attack%20may%20cause%20unexpected%20s&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-technorati">
			<a href="http://www.shareaholic.com/api/share/?title=Updated+IntraWeb+DOS+Attack+Hotfix+available+%28Update%3A+16.02.2007%29&amp;link=http://www.monien.net/blog/index.php/2007/01/updated-intraweb-dos-attack-hotfix-available-update-16022007/&amp;notes=Last%20week%20a%20possible%20DOS%20attack%20of%20IntraWeb%20applications%20was%20reported.%20The%20first%20hotfix%20we%20released%20immediately%20after%20the%20report%20was%20made%20public%20may%20cause%20unwanted%20side%20effects.%20Please%20use%20the%20updated%20hotfix%20as%20shown%20in%20this%20article.The%20first%20hotfix%20for%20the%20possible%20DOS%20attack%20may%20cause%20unexpected%20s&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=10&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.monien.net/blog/index.php/2007/01/updated-intraweb-dos-attack-hotfix-available-update-16022007/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IntraWeb on Bugtraq &#8211; No Panic! (Update)</title>
		<link>http://www.monien.net/blog/index.php/2007/01/intraweb-on-bugtraq-no-panic-update/</link>
		<comments>http://www.monien.net/blog/index.php/2007/01/intraweb-on-bugtraq-no-panic-update/#comments</comments>
		<pubDate>Tue, 23 Jan 2007 23:00:00 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Delphi]]></category>
		<category><![CDATA[IntraWeb]]></category>
		<category><![CDATA[ServerController]]></category>

		<guid isPermaLink="false">http://www.monien.net/blog/index.php/2007/01/intraweb-on-bugtraq-no-panic-update/</guid>
		<description><![CDATA[Yesterday IntraWeb was mentioned on Bugtraq, the security mailing list which informs about possible issues of any type of computer software. The mentioned IntraWeb issue currently has been isolated and a fix is provided. On Bugtraq there is a report about a possible denial of service (DOS) attack of IntraWeb applications: http://www.securityfocus.com/archive/1/457758 Do not panic! [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday IntraWeb was mentioned on Bugtraq, the security mailing list which informs about possible issues of any type of computer software. The mentioned IntraWeb issue currently has been isolated and a fix is provided.<span id="more-138"></span>
<p>On Bugtraq there is a report about a possible denial of service (DOS) attack of IntraWeb applications:</p>
<p><a href="http://www.securityfocus.com/archive/1/457758">http://www.securityfocus.com/archive/1/457758</a></p>
<p><span style="font-weight: bold;">Do not panic! See this <a href="20070124A.EN.aspx">article</a> for a hotfix.<br /></span></p>
<p>We have never been contacted by the author of this report &#8211; in contrast to what is said in this report. Also the suggested workaround is technically invalid:</p>
<p style="font-style: italic; color: Blue;">
Description<br />
&#8212;&#8212;&#8212;&#8211;</p>
<p>DoS conditions occurs, when a specially crafted HTTP request is sent to the webapplication.<br />
After the request, the affected thread enters into an infinte loop, and hangs.</p>
<p>Of course, due to the nature of software, we can not gurantee that such a vulnerability does not exist. We have contacted the author to send us the exact description to prove that statement.</p>
<p style="color: Blue;">
<span style="font-style: italic;">WorkAround</span><br style="font-style: italic;"><span style="font-style: italic;"><br />
&#8212;&#8212;&#8212;-</span><br style="font-style: italic;"><br />
<br style="font-style: italic;"><span style="font-style: italic;"><br />
There is no vendor supplied workaround for the problem at this time.</span><br style="font-style: italic;"><br />
<br style="font-style: italic;"><span style="font-style: italic;"><br />
A possible workaround can be, to filter the request body for the</span><span style="font-style: italic;"> special request, and repair it.</span><br style="font-style: italic;"><span style="font-style: italic;"><br />
It can be achieved, by overriding the function called</span><span style="font-style: italic;"> &#8220;OnBeforeDispatch&#8221; of the TIWServerController object, and repair the</span><span style="font-style: italic;"> request, by changing the &#8220;Request.Content&#8221; field.</span></p>
<p>Request.Content is a <span style="font-weight: bold;">read-only</span> property of TWebRequest (which is not an IntraWeb class, but is introduced by Delphi&#8217;s WebBroker architecture), thus can not be changed as the author suggests.</p>
<p><span style="text-decoration: line-through;">Both, not having informed us and supplying an invalid/incomplete workarround makes this report look like a fake, published to blame IntraWeb.</p>
<p></span>In the meantime I was able to contact the original author  (who still did not unveil his real name &#8211; I only know his nick mane &#8220;Core Impact&#8221;), and he finally provided the necessary steps how to reproduce the issue he observed.<span style="text-decoration: line-through;"><br /></span>
<div style="text-align: left;">We will carefully listen to any reports and if somebody finds anything &#8211; just <span style="font-weight: bold;">contact us/me</span>! We care of our customers and will provide a solution asap &#8211; if there should be a real issue! See the <a href="20070124A.EN.aspx">hotfix article</a>!</div>
<p></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=IntraWeb+on+Bugtraq+-+No+Panic%21+%28Update%29&amp;link=http://www.monien.net/blog/index.php/2007/01/intraweb-on-bugtraq-no-panic-update/&amp;notes=Yesterday%20IntraWeb%20was%20mentioned%20on%20Bugtraq%2C%20the%20security%20mailing%20list%20which%20informs%20about%20possible%20issues%20of%20any%20type%20of%20computer%20software.%20The%20mentioned%20IntraWeb%20issue%20currently%20has%20been%20isolated%20and%20a%20fix%20is%20provided.On%20Bugtraq%20there%20is%20a%20report%20about%20a%20possible%20denial%20of%20service%20%28DOS%29%20attack%20of%20&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.monien.net/blog/index.php/2007/01/intraweb-on-bugtraq-no-panic-update/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=IntraWeb+on+Bugtraq+-+No+Panic%21+%28Update%29&amp;link=http://www.monien.net/blog/index.php/2007/01/intraweb-on-bugtraq-no-panic-update/&amp;notes=Yesterday%20IntraWeb%20was%20mentioned%20on%20Bugtraq%2C%20the%20security%20mailing%20list%20which%20informs%20about%20possible%20issues%20of%20any%20type%20of%20computer%20software.%20The%20mentioned%20IntraWeb%20issue%20currently%20has%20been%20isolated%20and%20a%20fix%20is%20provided.On%20Bugtraq%20there%20is%20a%20report%20about%20a%20possible%20denial%20of%20service%20%28DOS%29%20attack%20of%20&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=IntraWeb+on+Bugtraq+-+No+Panic%21+%28Update%29&amp;link=http://www.monien.net/blog/index.php/2007/01/intraweb-on-bugtraq-no-panic-update/&amp;notes=Yesterday%20IntraWeb%20was%20mentioned%20on%20Bugtraq%2C%20the%20security%20mailing%20list%20which%20informs%20about%20possible%20issues%20of%20any%20type%20of%20computer%20software.%20The%20mentioned%20IntraWeb%20issue%20currently%20has%20been%20isolated%20and%20a%20fix%20is%20provided.On%20Bugtraq%20there%20is%20a%20report%20about%20a%20possible%20denial%20of%20service%20%28DOS%29%20attack%20of%20&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.shareaholic.com/api/share/?title=IntraWeb+on+Bugtraq+-+No+Panic%21+%28Update%29&amp;link=http://www.monien.net/blog/index.php/2007/01/intraweb-on-bugtraq-no-panic-update/&amp;notes=Yesterday%20IntraWeb%20was%20mentioned%20on%20Bugtraq%2C%20the%20security%20mailing%20list%20which%20informs%20about%20possible%20issues%20of%20any%20type%20of%20computer%20software.%20The%20mentioned%20IntraWeb%20issue%20currently%20has%20been%20isolated%20and%20a%20fix%20is%20provided.On%20Bugtraq%20there%20is%20a%20report%20about%20a%20possible%20denial%20of%20service%20%28DOS%29%20attack%20of%20&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=IntraWeb+on+Bugtraq+-+No+Panic%21+%28Update%29&amp;link=http://www.monien.net/blog/index.php/2007/01/intraweb-on-bugtraq-no-panic-update/&amp;notes=Yesterday%20IntraWeb%20was%20mentioned%20on%20Bugtraq%2C%20the%20security%20mailing%20list%20which%20informs%20about%20possible%20issues%20of%20any%20type%20of%20computer%20software.%20The%20mentioned%20IntraWeb%20issue%20currently%20has%20been%20isolated%20and%20a%20fix%20is%20provided.On%20Bugtraq%20there%20is%20a%20report%20about%20a%20possible%20denial%20of%20service%20%28DOS%29%20attack%20of%20&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-technorati">
			<a href="http://www.shareaholic.com/api/share/?title=IntraWeb+on+Bugtraq+-+No+Panic%21+%28Update%29&amp;link=http://www.monien.net/blog/index.php/2007/01/intraweb-on-bugtraq-no-panic-update/&amp;notes=Yesterday%20IntraWeb%20was%20mentioned%20on%20Bugtraq%2C%20the%20security%20mailing%20list%20which%20informs%20about%20possible%20issues%20of%20any%20type%20of%20computer%20software.%20The%20mentioned%20IntraWeb%20issue%20currently%20has%20been%20isolated%20and%20a%20fix%20is%20provided.On%20Bugtraq%20there%20is%20a%20report%20about%20a%20possible%20denial%20of%20service%20%28DOS%29%20attack%20of%20&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=10&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.monien.net/blog/index.php/2007/01/intraweb-on-bugtraq-no-panic-update/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>IntraWeb DOS Hotfix available (Update2)</title>
		<link>http://www.monien.net/blog/index.php/2007/01/intraweb-dos-hotfix-available-update2/</link>
		<comments>http://www.monien.net/blog/index.php/2007/01/intraweb-dos-hotfix-available-update2/#comments</comments>
		<pubDate>Tue, 23 Jan 2007 23:00:00 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Delphi]]></category>
		<category><![CDATA[IntraWeb]]></category>
		<category><![CDATA[ServerController]]></category>

		<guid isPermaLink="false">http://www.monien.net/blog/index.php/2007/01/intraweb-dos-hotfix-available-update2/</guid>
		<description><![CDATA[The possible DOS attack which was reported a few hours ago was verified and is fixed in IntraWeb 9.0 (soon to be released). For existing applications please apply the code as mentioned in this article.Update 2: Please see the updated workaround. The possible DOS attack of IntraWeb applications as mentioned earlier today, has been verified [...]]]></description>
			<content:encoded><![CDATA[<p>The possible DOS attack which was reported a few hours ago was verified and is fixed in IntraWeb 9.0 (soon to be released). For existing applications please apply the code as mentioned in this article.<span id="more-139"></span><span style="font-weight: bold;">Update 2: Please see the <a href="20070129.EN.aspx">updated workaround</a>.</p>
<p></span></p>
<p>The possible DOS attack of IntraWeb applications as mentioned <a href="20070124.EN.aspx">earlier today</a>, has been verified by our engineers. The source of it is an &#8220;ugly behavior&#8221; of a Delphi routine, which may cause an infinite loop in IntraWeb applications under certain conditions.</p>
<p>I&#8217;m not going to demonstrate how to reproduce this attack to avoid hangs of your applications, just because of &#8220;too courious&#8221;  people &#8220;testing&#8221; your applications.</p>
<p>To protect your application against this DOS attack please follow these steps:
<ol>
<li>Open your ServerController.pas unit and add an OnBeforeDispatch event handler.</li>
<li>Add the following bold line to the event handler created in step one</li>
<li>If you already have an OnBeforeDispatch handler then add these lines above your own code</li>
</ol>
<p><span style="font-weight: bold;"></span><br /><font style="text-decoration: line-through;" size="-1"><span style="font-family: Courier New;">procedure TIWServerController.IWServerControllerBaseBeforeDispatch(Sender:</span><br style="font-family: Courier New;"><span style="font-family: Courier New;">    TObject; Request: TWebRequest; Response: TWebResponse; var Handled:</span><br style="font-family: Courier New;"><span style="font-family: Courier New;">    Boolean);</span><br style="font-family: Courier New;"><span style="font-family: Courier New;">begin</span><br style="font-family: Courier New;"><span style="font-family: Courier New; font-weight: bold;">  while pos(#$D#$A#$D#$A, Request.ContentFields.Text) &gt; 0 do<br />    Request.ContentFields.Text := StringReplace(Request.ContentFields.Text, #$D#$A#$D#$A, #$D#$A, [rfReplaceAll]);</span><br style="font-family: Courier New;"><span style="font-family: Courier New;">end;</span></font><br style="text-decoration: line-through;"><br style="text-decoration: line-through;"><span style="font-style: italic; text-decoration: line-through;">Update: Please notice that there is a while loop now, which extends the first hot fix solution.</span></p>
<p>The next IntraWeb 9.0 build (9.0.12) will have this fixed internally. </p>
<p><span style="font-style: italic;">We care about about our customers and try to provide solutions for situations like the one. <span style="font-weight: bold;">Please contact us first though,</span> if you think you discovered something which should be addressed immediately. Sending reports to &#8220;Bugtraq&#8221; or any other mailing lists which are not operated by Atozed may cause unnecessary delays. As you have seen, we have provided a solution within hours after we found &#8220;ourself&#8221; on Bugtrac.</span></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=IntraWeb+DOS+Hotfix+available+%28Update2%29&amp;link=http://www.monien.net/blog/index.php/2007/01/intraweb-dos-hotfix-available-update2/&amp;notes=The%20possible%20DOS%20attack%20which%20was%20reported%20a%20few%20hours%20ago%20was%20verified%20and%20is%20fixed%20in%20IntraWeb%209.0%20%28soon%20to%20be%20released%29.%20For%20existing%20applications%20please%20apply%20the%20code%20as%20mentioned%20in%20this%20article.Update%202%3A%20Please%20see%20the%20updated%20workaround.%0AThe%20possible%20DOS%20attack%20of%20IntraWeb%20applications%20as%20me&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.monien.net/blog/index.php/2007/01/intraweb-dos-hotfix-available-update2/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=IntraWeb+DOS+Hotfix+available+%28Update2%29&amp;link=http://www.monien.net/blog/index.php/2007/01/intraweb-dos-hotfix-available-update2/&amp;notes=The%20possible%20DOS%20attack%20which%20was%20reported%20a%20few%20hours%20ago%20was%20verified%20and%20is%20fixed%20in%20IntraWeb%209.0%20%28soon%20to%20be%20released%29.%20For%20existing%20applications%20please%20apply%20the%20code%20as%20mentioned%20in%20this%20article.Update%202%3A%20Please%20see%20the%20updated%20workaround.%0AThe%20possible%20DOS%20attack%20of%20IntraWeb%20applications%20as%20me&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=IntraWeb+DOS+Hotfix+available+%28Update2%29&amp;link=http://www.monien.net/blog/index.php/2007/01/intraweb-dos-hotfix-available-update2/&amp;notes=The%20possible%20DOS%20attack%20which%20was%20reported%20a%20few%20hours%20ago%20was%20verified%20and%20is%20fixed%20in%20IntraWeb%209.0%20%28soon%20to%20be%20released%29.%20For%20existing%20applications%20please%20apply%20the%20code%20as%20mentioned%20in%20this%20article.Update%202%3A%20Please%20see%20the%20updated%20workaround.%0AThe%20possible%20DOS%20attack%20of%20IntraWeb%20applications%20as%20me&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.shareaholic.com/api/share/?title=IntraWeb+DOS+Hotfix+available+%28Update2%29&amp;link=http://www.monien.net/blog/index.php/2007/01/intraweb-dos-hotfix-available-update2/&amp;notes=The%20possible%20DOS%20attack%20which%20was%20reported%20a%20few%20hours%20ago%20was%20verified%20and%20is%20fixed%20in%20IntraWeb%209.0%20%28soon%20to%20be%20released%29.%20For%20existing%20applications%20please%20apply%20the%20code%20as%20mentioned%20in%20this%20article.Update%202%3A%20Please%20see%20the%20updated%20workaround.%0AThe%20possible%20DOS%20attack%20of%20IntraWeb%20applications%20as%20me&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=IntraWeb+DOS+Hotfix+available+%28Update2%29&amp;link=http://www.monien.net/blog/index.php/2007/01/intraweb-dos-hotfix-available-update2/&amp;notes=The%20possible%20DOS%20attack%20which%20was%20reported%20a%20few%20hours%20ago%20was%20verified%20and%20is%20fixed%20in%20IntraWeb%209.0%20%28soon%20to%20be%20released%29.%20For%20existing%20applications%20please%20apply%20the%20code%20as%20mentioned%20in%20this%20article.Update%202%3A%20Please%20see%20the%20updated%20workaround.%0AThe%20possible%20DOS%20attack%20of%20IntraWeb%20applications%20as%20me&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-technorati">
			<a href="http://www.shareaholic.com/api/share/?title=IntraWeb+DOS+Hotfix+available+%28Update2%29&amp;link=http://www.monien.net/blog/index.php/2007/01/intraweb-dos-hotfix-available-update2/&amp;notes=The%20possible%20DOS%20attack%20which%20was%20reported%20a%20few%20hours%20ago%20was%20verified%20and%20is%20fixed%20in%20IntraWeb%209.0%20%28soon%20to%20be%20released%29.%20For%20existing%20applications%20please%20apply%20the%20code%20as%20mentioned%20in%20this%20article.Update%202%3A%20Please%20see%20the%20updated%20workaround.%0AThe%20possible%20DOS%20attack%20of%20IntraWeb%20applications%20as%20me&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=10&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.monien.net/blog/index.php/2007/01/intraweb-dos-hotfix-available-update2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing IntraWeb&#8217;s server identification string</title>
		<link>http://www.monien.net/blog/index.php/2006/08/changing-intrawebs-server-identification-string/</link>
		<comments>http://www.monien.net/blog/index.php/2006/08/changing-intrawebs-server-identification-string/#comments</comments>
		<pubDate>Mon, 14 Aug 2006 22:00:00 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[IntraWeb]]></category>
		<category><![CDATA[ServerController]]></category>

		<guid isPermaLink="false">http://www.monien.net/blog/index.php/2006/08/changing-intrawebs-server-identification-string/</guid>
		<description><![CDATA[I&#8217;ve been asked a couple of times recently if it is possible to remove that &#8220;Server: Indy/10.0.52&#8243; string, which is sent with every response in StandAlone mode. You can set this string to any value you want. To set the indetification string &#8220;Server: Indy/10.0.52&#8243; with something else, just&#160;add the follwoing to&#160;your ServerController&#8217;s create event: Note: [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been asked a couple of times recently if it is possible to remove that &#8220;Server: Indy/10.0.52&#8243; string, which is sent with every response in StandAlone mode.<br />
You can set this string to any value you want. <span id="more-126"></span>
<p>To set the indetification string &#8220;Server: Indy/10.0.52&#8243; with something else,<br />
just&nbsp;add the follwoing to&nbsp;your ServerController&#8217;s create event:</p>
<p><font size=2>Note: This applies to IntraWeb&#8217;s StandAlone mode only. You can<br />
not change the string which is sent by IIS if you are using ISAPI<br />
mode.</font></p>
<pre wrap="">uses&nbsp; IWInit, IWGlobal, <u>IWHTTPServer</u>;</pre>
<pre wrap="">[...]</pre>
<pre wrap="">procedure TIWServerController.IWServerControllerBaseCreate(Sender: TObject);begin&nbsp; if assigned(GHTTPServer) and assigned(GHTTPServer.HTTP) then begin&nbsp;&nbsp;&nbsp; GHTTPServer.HTTP.Active := false;&nbsp;&nbsp;&nbsp; <u>GHTTPServer.HTTP.ServerSoftware := 'fake';</u>&nbsp;&nbsp;&nbsp; GHTTPServer.HTTP.Active := true;&nbsp; end;end;</pre>
<pre wrap="">If your server uses HTTPS/SSL then apply the same to <u>GHTTPServer.HTTPS</u> as well.</pre>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=Changing+IntraWeb%27s+server+identification+string&amp;link=http://www.monien.net/blog/index.php/2006/08/changing-intrawebs-server-identification-string/&amp;notes=I%27ve%20been%20asked%20a%20couple%20of%20times%20recently%20if%20it%20is%20possible%20to%20remove%20that%20%22Server%3A%20Indy%2F10.0.52%22%20string%2C%20which%20is%20sent%20with%20every%20response%20in%20StandAlone%20mode.%20%0AYou%20can%20set%20this%20string%20to%20any%20value%20you%20want.%20To%20set%20the%20indetification%20string%20%22Server%3A%20Indy%2F10.0.52%22%20with%20something%20else%2C%20%0Ajust%26nbsp%3Badd&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.monien.net/blog/index.php/2006/08/changing-intrawebs-server-identification-string/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=Changing+IntraWeb%27s+server+identification+string&amp;link=http://www.monien.net/blog/index.php/2006/08/changing-intrawebs-server-identification-string/&amp;notes=I%27ve%20been%20asked%20a%20couple%20of%20times%20recently%20if%20it%20is%20possible%20to%20remove%20that%20%22Server%3A%20Indy%2F10.0.52%22%20string%2C%20which%20is%20sent%20with%20every%20response%20in%20StandAlone%20mode.%20%0AYou%20can%20set%20this%20string%20to%20any%20value%20you%20want.%20To%20set%20the%20indetification%20string%20%22Server%3A%20Indy%2F10.0.52%22%20with%20something%20else%2C%20%0Ajust%26nbsp%3Badd&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=Changing+IntraWeb%27s+server+identification+string&amp;link=http://www.monien.net/blog/index.php/2006/08/changing-intrawebs-server-identification-string/&amp;notes=I%27ve%20been%20asked%20a%20couple%20of%20times%20recently%20if%20it%20is%20possible%20to%20remove%20that%20%22Server%3A%20Indy%2F10.0.52%22%20string%2C%20which%20is%20sent%20with%20every%20response%20in%20StandAlone%20mode.%20%0AYou%20can%20set%20this%20string%20to%20any%20value%20you%20want.%20To%20set%20the%20indetification%20string%20%22Server%3A%20Indy%2F10.0.52%22%20with%20something%20else%2C%20%0Ajust%26nbsp%3Badd&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.shareaholic.com/api/share/?title=Changing+IntraWeb%27s+server+identification+string&amp;link=http://www.monien.net/blog/index.php/2006/08/changing-intrawebs-server-identification-string/&amp;notes=I%27ve%20been%20asked%20a%20couple%20of%20times%20recently%20if%20it%20is%20possible%20to%20remove%20that%20%22Server%3A%20Indy%2F10.0.52%22%20string%2C%20which%20is%20sent%20with%20every%20response%20in%20StandAlone%20mode.%20%0AYou%20can%20set%20this%20string%20to%20any%20value%20you%20want.%20To%20set%20the%20indetification%20string%20%22Server%3A%20Indy%2F10.0.52%22%20with%20something%20else%2C%20%0Ajust%26nbsp%3Badd&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=Changing+IntraWeb%27s+server+identification+string&amp;link=http://www.monien.net/blog/index.php/2006/08/changing-intrawebs-server-identification-string/&amp;notes=I%27ve%20been%20asked%20a%20couple%20of%20times%20recently%20if%20it%20is%20possible%20to%20remove%20that%20%22Server%3A%20Indy%2F10.0.52%22%20string%2C%20which%20is%20sent%20with%20every%20response%20in%20StandAlone%20mode.%20%0AYou%20can%20set%20this%20string%20to%20any%20value%20you%20want.%20To%20set%20the%20indetification%20string%20%22Server%3A%20Indy%2F10.0.52%22%20with%20something%20else%2C%20%0Ajust%26nbsp%3Badd&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-technorati">
			<a href="http://www.shareaholic.com/api/share/?title=Changing+IntraWeb%27s+server+identification+string&amp;link=http://www.monien.net/blog/index.php/2006/08/changing-intrawebs-server-identification-string/&amp;notes=I%27ve%20been%20asked%20a%20couple%20of%20times%20recently%20if%20it%20is%20possible%20to%20remove%20that%20%22Server%3A%20Indy%2F10.0.52%22%20string%2C%20which%20is%20sent%20with%20every%20response%20in%20StandAlone%20mode.%20%0AYou%20can%20set%20this%20string%20to%20any%20value%20you%20want.%20To%20set%20the%20indetification%20string%20%22Server%3A%20Indy%2F10.0.52%22%20with%20something%20else%2C%20%0Ajust%26nbsp%3Badd&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=10&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.monien.net/blog/index.php/2006/08/changing-intrawebs-server-identification-string/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hardening your IntraWeb server</title>
		<link>http://www.monien.net/blog/index.php/2006/08/hardening-your-intraweb-server/</link>
		<comments>http://www.monien.net/blog/index.php/2006/08/hardening-your-intraweb-server/#comments</comments>
		<pubDate>Mon, 14 Aug 2006 22:00:00 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[IntraWeb]]></category>
		<category><![CDATA[ServerController]]></category>

		<guid isPermaLink="false">http://www.monien.net/blog/index.php/2006/08/hardening-your-intraweb-server/</guid>
		<description><![CDATA[A customer of our&#8217;s recently got a security audit of his IntraWeb application. The only relevant thing they found was that IntraWeb&#8217;s HTTPS mode allows SSL 1.0/2.0 connections. For SSL 1.0/2.0 there are exploits, which may affect the security of the systems using that. By default HTTPS enabled IntraWeb servers accept any SSL client version&#160;from [...]]]></description>
			<content:encoded><![CDATA[<p>A customer of our&#8217;s recently got a security audit of his IntraWeb application. The only relevant thing they found was that IntraWeb&#8217;s HTTPS mode allows SSL 1.0/2.0 connections. For SSL 1.0/2.0 there are exploits, which may affect the security of the systems using that. <span id="more-127"></span>
<p>By default HTTPS enabled IntraWeb servers accept any SSL client<br />
version&nbsp;from 1.0. To allow SSL 3.0 only with your HTTPS<br />
enabled&nbsp;IntraWeb application, just add the following lines of code to your<br />
ServerController&#8217;s OnCreate event:</p>
<p><font size=2>Note: This only applies to IntraWeb StandAlone applications. If<br />
you are using IIS or any other Web server (ISAPI, DSO or .NET assembly mode),<br />
then please see the manual of your Web server how to set the available&nbsp;SSL<br />
modes. HTTPS is not available with IntraWeb evaluation versions.</font></p>
<p><font face="Courier New">uses<br />&nbsp; IWInit, IWGlobal,<br />
<u>IWHTTPServer</u>;</font></p>
<p><font face="Courier New">procedure<br />
TIWServerController.IWServerControllerBaseCreate(Sender:<br />
TObject);<br />begin<br />&nbsp; if assigned(GHTTPServer) and<br />
assigned(GHTTPServer.HTTPS) then begin<br />&nbsp;&nbsp;&nbsp;<br />
GHTTPServer.HTTPS.Active := false;<br />&nbsp;&nbsp;&nbsp;<br />
TInServerIOHandlerSSLOpenSSL(GHTTPServer.HTTPS.IOHandler).<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
</font><font face="Courier New"><u>SSLOptions.Method :=<br />
sslvSSLv3</u>;<br />&nbsp;&nbsp;&nbsp; GHTTPServer.HTTPS.Active := true;<br />&nbsp;<br />
end;<br />end;</font></p>
<p>&nbsp;</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=Hardening+your+IntraWeb+server&amp;link=http://www.monien.net/blog/index.php/2006/08/hardening-your-intraweb-server/&amp;notes=A%20customer%20of%20our%27s%20recently%20got%20a%20security%20audit%20of%20his%20IntraWeb%20application.%20The%20only%20relevant%20thing%20they%20found%20was%20that%20IntraWeb%27s%20HTTPS%20mode%20allows%20SSL%201.0%2F2.0%20connections.%20For%20SSL%201.0%2F2.0%20there%20are%20exploits%2C%20which%20may%20affect%20the%20security%20of%20the%20systems%20using%20that.%20By%20default%20HTTPS%20enabled%20Intra&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.monien.net/blog/index.php/2006/08/hardening-your-intraweb-server/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=Hardening+your+IntraWeb+server&amp;link=http://www.monien.net/blog/index.php/2006/08/hardening-your-intraweb-server/&amp;notes=A%20customer%20of%20our%27s%20recently%20got%20a%20security%20audit%20of%20his%20IntraWeb%20application.%20The%20only%20relevant%20thing%20they%20found%20was%20that%20IntraWeb%27s%20HTTPS%20mode%20allows%20SSL%201.0%2F2.0%20connections.%20For%20SSL%201.0%2F2.0%20there%20are%20exploits%2C%20which%20may%20affect%20the%20security%20of%20the%20systems%20using%20that.%20By%20default%20HTTPS%20enabled%20Intra&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=Hardening+your+IntraWeb+server&amp;link=http://www.monien.net/blog/index.php/2006/08/hardening-your-intraweb-server/&amp;notes=A%20customer%20of%20our%27s%20recently%20got%20a%20security%20audit%20of%20his%20IntraWeb%20application.%20The%20only%20relevant%20thing%20they%20found%20was%20that%20IntraWeb%27s%20HTTPS%20mode%20allows%20SSL%201.0%2F2.0%20connections.%20For%20SSL%201.0%2F2.0%20there%20are%20exploits%2C%20which%20may%20affect%20the%20security%20of%20the%20systems%20using%20that.%20By%20default%20HTTPS%20enabled%20Intra&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.shareaholic.com/api/share/?title=Hardening+your+IntraWeb+server&amp;link=http://www.monien.net/blog/index.php/2006/08/hardening-your-intraweb-server/&amp;notes=A%20customer%20of%20our%27s%20recently%20got%20a%20security%20audit%20of%20his%20IntraWeb%20application.%20The%20only%20relevant%20thing%20they%20found%20was%20that%20IntraWeb%27s%20HTTPS%20mode%20allows%20SSL%201.0%2F2.0%20connections.%20For%20SSL%201.0%2F2.0%20there%20are%20exploits%2C%20which%20may%20affect%20the%20security%20of%20the%20systems%20using%20that.%20By%20default%20HTTPS%20enabled%20Intra&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=Hardening+your+IntraWeb+server&amp;link=http://www.monien.net/blog/index.php/2006/08/hardening-your-intraweb-server/&amp;notes=A%20customer%20of%20our%27s%20recently%20got%20a%20security%20audit%20of%20his%20IntraWeb%20application.%20The%20only%20relevant%20thing%20they%20found%20was%20that%20IntraWeb%27s%20HTTPS%20mode%20allows%20SSL%201.0%2F2.0%20connections.%20For%20SSL%201.0%2F2.0%20there%20are%20exploits%2C%20which%20may%20affect%20the%20security%20of%20the%20systems%20using%20that.%20By%20default%20HTTPS%20enabled%20Intra&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-technorati">
			<a href="http://www.shareaholic.com/api/share/?title=Hardening+your+IntraWeb+server&amp;link=http://www.monien.net/blog/index.php/2006/08/hardening-your-intraweb-server/&amp;notes=A%20customer%20of%20our%27s%20recently%20got%20a%20security%20audit%20of%20his%20IntraWeb%20application.%20The%20only%20relevant%20thing%20they%20found%20was%20that%20IntraWeb%27s%20HTTPS%20mode%20allows%20SSL%201.0%2F2.0%20connections.%20For%20SSL%201.0%2F2.0%20there%20are%20exploits%2C%20which%20may%20affect%20the%20security%20of%20the%20systems%20using%20that.%20By%20default%20HTTPS%20enabled%20Intra&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=10&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.monien.net/blog/index.php/2006/08/hardening-your-intraweb-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

