<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Olaf's thoughts about Delphi, IntraWeb and other dev stuff  - Latest Comments in Hardening IntraWeb 9.0 with SSL Version 3</title><link>http://omonien.disqus.com/</link><description>Delphi Programming, .NET Philosophy, Web development and more …</description><atom:link href="https://omonien.disqus.com/hardening_intraweb_90_with_ssl_version_3/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 07 Dec 2009 02:45:16 -0000</lastBuildDate><item><title>Re: Hardening IntraWeb 9.0 with SSL Version 3</title><link>http://www.monien.net/hardening-intraweb-90-with-ssl-version-3/#comment-24985255</link><description>&lt;p&gt; I understood. &lt;br&gt; You know i use different types of images: images in my template, images in TIWImage and i use AdvancedImageButtons (by TMS Software).&lt;br&gt;Buttons by tms, has for different states and each state has own image. Sometimes these buttons working slowly.&lt;br&gt; Olaf, thank you for your answers. It's very important information.&lt;br&gt; I have only one question to you:&lt;br&gt;   In ServiceController i can set perameter : SessionTimeout. I did not change it and save it by default ( 10 min).&lt;br&gt;   When application works under Standalone server all cached files are removed when session terminated( by timeout).&lt;br&gt;   But when project work under IIS , cache files are removed only when i use Terminate() , but if not (close web browser for example),&lt;br&gt;cached files are not delete from folder.  &lt;br&gt;   After , for example, one day of use service i can see many different folders with files in temporary cache folder. As result i have to &lt;br&gt;control this folder and delete files manually every day otherwise free space well end and server will down.&lt;br&gt;   I saw in IIS configuration and it have timeout perameter only for ASP project.&lt;br&gt;   Can you explain - where is my mistake ?&lt;/p&gt;&lt;p&gt;Best Regards,&lt;br&gt;Eugene&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Eugene</dc:creator><pubDate>Mon, 07 Dec 2009 02:45:16 -0000</pubDate></item><item><title>Re: Hardening IntraWeb 9.0 with SSL Version 3</title><link>http://www.monien.net/hardening-intraweb-90-with-ssl-version-3/#comment-24797120</link><description>&lt;p&gt;Images will ALWAYS be re-requested by the browser IF IN SSL mode. This is a security feature and not related to IntraWeb.&lt;/p&gt;&lt;p&gt;If you see image files in the cache folder, then you are probably using TIWImage. These are "dynamic" images, wich are kept in memory on the server side. Every page render will create a new cache file, which is used to present the actual image to the browser.&lt;/p&gt;&lt;p&gt;If you actually have static images, then use TIWImageFile instead. That will put much less pressure on your server.&lt;/p&gt;&lt;p&gt;--&lt;br&gt;Grüße / Regards,&lt;br&gt; Olaf Monien&lt;br&gt;---------------------------&lt;br&gt;EDV-Beratung Monien&lt;br&gt;Embarcadero Technology Partner&lt;/p&gt;&lt;p&gt;olaf@monien.net&lt;br&gt;&lt;a href="http://www.monien.net/blog" rel="nofollow noopener" target="_blank" title="www.monien.net/blog"&gt;www.monien.net/blog&lt;/a&gt;&lt;br&gt;&lt;a href="http://www.DelphiExperts.net" rel="nofollow noopener" target="_blank" title="www.DelphiExperts.net"&gt;www.DelphiExperts.net&lt;/a&gt;&lt;br&gt;---------------------------&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Olaf Monien</dc:creator><pubDate>Fri, 04 Dec 2009 11:29:47 -0000</pubDate></item><item><title>Re: Hardening IntraWeb 9.0 with SSL Version 3</title><link>http://www.monien.net/hardening-intraweb-90-with-ssl-version-3/#comment-24790197</link><description>&lt;p&gt; anyway, it's working. I think that using SSL from first page - it's not a problem. ;-)&lt;br&gt; You know, i saw to my cache directore and i was surprised :  becase i found many *.tmp files in it.&lt;br&gt; These files are pictures.  May be it's sounds strange but intraweb caches same files under different names ! &lt;br&gt; For example, in session temp folder i have three files: JPG1E7D.tmp, JPG1E80.tmp, JPG1E82.tmp, JPG1E84.tmp. &lt;br&gt;These files are same, but have defferent name. As i undestood, Intraweb create file when page reloading.&lt;br&gt;But the very bad thing, that, as i understand, intraweb does not give old files from cache and rename it, intraweb download&lt;br&gt;this file from server again ! Traffic grows , speed low and as result  intraweb application works slowly. ( particularly in SSL mode).&lt;br&gt;  Does it true ?  How does cache algorithm works ?&lt;br&gt;  Sorry that i ask a lot of questions, but i can't find answers for these questions in documentation.&lt;/p&gt;&lt;p&gt;  Thanks a lot for your help.&lt;/p&gt;&lt;p&gt;Best Regards,&lt;br&gt;Eugene&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Eugene</dc:creator><pubDate>Fri, 04 Dec 2009 10:02:40 -0000</pubDate></item><item><title>Re: Hardening IntraWeb 9.0 with SSL Version 3</title><link>http://www.monien.net/hardening-intraweb-90-with-ssl-version-3/#comment-24691917</link><description>&lt;p&gt;Honestly, I have no idea what might happen there.&lt;/p&gt;&lt;p&gt;--&lt;br&gt;Grüße / Regards,&lt;br&gt; Olaf Monien&lt;br&gt;---------------------------&lt;br&gt;EDV-Beratung Monien&lt;br&gt;Embarcadero Technology Partner&lt;/p&gt;&lt;p&gt;olaf@monien.net&lt;br&gt;&lt;a href="http://www.monien.net/blog" rel="nofollow noopener" target="_blank" title="www.monien.net/blog"&gt;www.monien.net/blog&lt;/a&gt;&lt;br&gt;&lt;a href="http://www.DelphiExperts.net" rel="nofollow noopener" target="_blank" title="www.DelphiExperts.net"&gt;www.DelphiExperts.net&lt;/a&gt;&lt;br&gt;---------------------------&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Olaf Monien</dc:creator><pubDate>Thu, 03 Dec 2009 10:33:10 -0000</pubDate></item><item><title>Re: Hardening IntraWeb 9.0 with SSL Version 3</title><link>http://www.monien.net/hardening-intraweb-90-with-ssl-version-3/#comment-24597317</link><description>&lt;p&gt;if i use https immediately (&lt;a href="https://mydomain.com/myisapi.dll)" rel="nofollow noopener" target="_blank" title="https://mydomain.com/myisapi.dll)"&gt;https://mydomain.com/myisap...&lt;/a&gt; all is ok  ( for simple application  - no timeout, for my project - 15 sec)&lt;/p&gt;&lt;p&gt; does it mean that i have to use https from first page ?   Do you know why does it happen when i use non-secure mode first ? &lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Eugene</dc:creator><pubDate>Wed, 02 Dec 2009 10:16:02 -0000</pubDate></item><item><title>Re: Hardening IntraWeb 9.0 with SSL Version 3</title><link>http://www.monien.net/hardening-intraweb-90-with-ssl-version-3/#comment-24588628</link><description>&lt;p&gt;What happens if you start in SSL mode directly?&lt;/p&gt;&lt;p&gt;&lt;a href="https://yourdomain.com/yourisapi.dll" rel="nofollow noopener" target="_blank" title="https://yourdomain.com/yourisapi.dll"&gt;https://yourdomain.com/your...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;instead of:&lt;br&gt;&lt;a href="http://yourdomain.com/yourisapi.dll" rel="nofollow noopener" target="_blank" title="http://yourdomain.com/yourisapi.dll"&gt;http://yourdomain.com/youri...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;--&lt;br&gt;Grüße / Regards,&lt;br&gt; Olaf Monien&lt;br&gt;---------------------------&lt;br&gt;EDV-Beratung Monien&lt;br&gt;CodeGear Technology Partner&lt;/p&gt;&lt;p&gt;olaf@monien.net&lt;br&gt;&lt;a href="http://www.monien.net/blog" rel="nofollow noopener" target="_blank" title="www.monien.net/blog"&gt;www.monien.net/blog&lt;/a&gt;&lt;br&gt;&lt;a href="http://www.DelphiExperts.net" rel="nofollow noopener" target="_blank" title="www.DelphiExperts.net"&gt;www.DelphiExperts.net&lt;/a&gt;&lt;br&gt;---------------------------&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Olaf Monien</dc:creator><pubDate>Wed, 02 Dec 2009 08:24:28 -0000</pubDate></item><item><title>Re: Hardening IntraWeb 9.0 with SSL Version 3</title><link>http://www.monien.net/hardening-intraweb-90-with-ssl-version-3/#comment-24588530</link><description>&lt;p&gt;  May be you right, but not in my case, i think. i have to explain:&lt;br&gt;    - run my project ISAPI dll and press ok button -&amp;gt; wait for 2 min 8 sec -&amp;gt; app switchs to secure mode.&lt;br&gt;    - crete simple project with one button and two forms, compile to ISAPI dll, run and press button -&amp;gt; wait for 2 min 8 sec -&amp;gt; app switchs to secure mode.&lt;/p&gt;&lt;p&gt; When i do not use SSL  this timeout ( 2 min 8 sec) is absent at all.&lt;br&gt; What it can be ? May be i have to turn off ( or turn on) something on web server (IIS) ?&lt;/p&gt;&lt;p&gt;Best Regards,&lt;br&gt;Eugene&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Eugene</dc:creator><pubDate>Wed, 02 Dec 2009 08:22:24 -0000</pubDate></item><item><title>Re: Hardening IntraWeb 9.0 with SSL Version 3</title><link>http://www.monien.net/hardening-intraweb-90-with-ssl-version-3/#comment-24556691</link><description>&lt;p&gt;If you have many images, then SSL will be "expensive". Images will be encrypted as well, and they won't be cachable.&lt;/p&gt;&lt;p&gt;--&lt;br&gt;Grüße / Regards,&lt;br&gt; Olaf Monien&lt;br&gt;---------------------------&lt;br&gt;EDV-Beratung Monien&lt;br&gt;CodeGear Technology Partner&lt;/p&gt;&lt;p&gt;olaf@monien.net&lt;br&gt;&lt;a href="http://www.monien.net/blog" rel="nofollow noopener" target="_blank" title="www.monien.net/blog"&gt;www.monien.net/blog&lt;/a&gt;&lt;br&gt;&lt;a href="http://www.DelphiExperts.net" rel="nofollow noopener" target="_blank" title="www.DelphiExperts.net"&gt;www.DelphiExperts.net&lt;/a&gt;&lt;br&gt;---------------------------&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Olaf Monien</dc:creator><pubDate>Wed, 02 Dec 2009 05:30:57 -0000</pubDate></item><item><title>Re: Hardening IntraWeb 9.0 with SSL Version 3</title><link>http://www.monien.net/hardening-intraweb-90-with-ssl-version-3/#comment-24555790</link><description>&lt;p&gt;Olaf, thanks a lot. Your hepl is always very useful.&lt;/p&gt;&lt;p&gt;My project is working now. Important thing - if i use IIS i have to add certificate ( that i use when i creating key.pem, root.pem, cert.pem) to my web site.&lt;br&gt;I use certificate created by myself ( with makecert from Microsoft). Of course, in this case web browser shows alert messages that my certificate was not created &lt;br&gt;in certification center. But it's only for now, when i am testing SSL in Intraweb.&lt;br&gt; And one more . Now, when my ISAPI dll use SSL , switching to secure mode takes very long time (about 1.5 - 2 minutes).   Why did it happen ?&lt;br&gt; May be it happen because i use not valid certificate (created by me) ? server trying to verify it and it takes a lot of time ?&lt;/p&gt;&lt;p&gt;Best Regards,&lt;br&gt;Eugene&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Eugene</dc:creator><pubDate>Wed, 02 Dec 2009 05:28:28 -0000</pubDate></item><item><title>Re: Hardening IntraWeb 9.0 with SSL Version 3</title><link>http://www.monien.net/hardening-intraweb-90-with-ssl-version-3/#comment-24415608</link><description>&lt;p&gt;SSL with IIS means, that IIS will be responsible for SSL handling. sll dlls and ports are not used by IW under IIS - SSL.&lt;br&gt;Make sure, that your IIS has the SSL certificate setup correctly and that it would display a simple static HTMl page correctly with https://....&lt;/p&gt;&lt;p&gt;Regards / Grüße,&lt;br&gt;Olaf Monien&lt;br&gt;------------------------------------------&lt;br&gt;EDV-Beratung Monien&lt;/p&gt;&lt;p&gt;Embarcadero Technology Partner&lt;br&gt;Delphi Experts Chairman&lt;br&gt;&lt;a href="http://www.delphiexperts.net" rel="nofollow noopener" target="_blank" title="www.delphiexperts.net"&gt;www.delphiexperts.net&lt;/a&gt;&lt;br&gt;&lt;a href="http://www.monien.net" rel="nofollow noopener" target="_blank" title="www.monien.net"&gt;www.monien.net&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Am 30.11.2009 um 15:24 schrieb Disqus:&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Olaf Monien</dc:creator><pubDate>Tue, 01 Dec 2009 02:09:29 -0000</pubDate></item><item><title>Re: Hardening IntraWeb 9.0 with SSL Version 3</title><link>http://www.monien.net/hardening-intraweb-90-with-ssl-version-3/#comment-24331526</link><description>&lt;p&gt; Thanks a lot. But you know , it's really strange, because my port was 443 ( standard port for SSL protocol), but in error message - 10048.&lt;/p&gt;&lt;p&gt; However, now i have another trouble - i can not run my project in secure mode on IIS Web server.&lt;br&gt; My web application working properly in StandAlone mode ( for this mode i put  libeay32.dll and ssleay32.dll in same folder, also i put cert.pem, key.pem,&lt;br&gt;  root.pem from Intraweb 10 demo project).&lt;br&gt; But StandAlone only for test, my web application have to work as ISAPI dll on our server.&lt;br&gt; I put ISAPI dll in web site folder and put another files with it ( libeay32.dll, ssleay32.dll,cert.pem, key.pem,root.pem).&lt;br&gt; Then i type on remote computer address to my dll. First page opens, but in click event i use code:&lt;br&gt;    WebApplication.SwitchToSecure;&lt;br&gt; When this line executing my Intraweb application hungs... I cand see my page with busy indicator .&lt;/p&gt;&lt;p&gt; Can you help me ? It's one of the important requirement - use security mode( transfer data through protected channel), but it doesn't work now under IIS ...&lt;/p&gt;&lt;p&gt;Best Regards,&lt;br&gt;Eugene&lt;/p&gt;&lt;p&gt; &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Eugene</dc:creator><pubDate>Mon, 30 Nov 2009 09:24:31 -0000</pubDate></item><item><title>Re: Hardening IntraWeb 9.0 with SSL Version 3</title><link>http://www.monien.net/hardening-intraweb-90-with-ssl-version-3/#comment-24166595</link><description>&lt;p&gt;Go to ServerController and set the port to some other value.&lt;/p&gt;&lt;p&gt;--&lt;br&gt;Grüße / Regards,&lt;br&gt; Olaf Monien&lt;br&gt;---------------------------&lt;br&gt;EDV-Beratung Monien&lt;br&gt;CodeGear Technology Partner&lt;/p&gt;&lt;p&gt;olaf@monien.net&lt;br&gt;&lt;a href="http://www.monien.net/blog" rel="nofollow noopener" target="_blank" title="www.monien.net/blog"&gt;www.monien.net/blog&lt;/a&gt;&lt;br&gt;&lt;a href="http://www.DelphiExperts.net" rel="nofollow noopener" target="_blank" title="www.DelphiExperts.net"&gt;www.DelphiExperts.net&lt;/a&gt;&lt;br&gt;---------------------------&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Olaf Monien</dc:creator><pubDate>Fri, 27 Nov 2009 04:15:33 -0000</pubDate></item><item><title>Re: Hardening IntraWeb 9.0 with SSL Version 3</title><link>http://www.monien.net/hardening-intraweb-90-with-ssl-version-3/#comment-24166491</link><description>&lt;p&gt;Do you know why i have error like " ...port 10048 is already in use ..." ? I open demo project from Intraweb demos ...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Eugene</dc:creator><pubDate>Fri, 27 Nov 2009 04:08:11 -0000</pubDate></item></channel></rss>