<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://keepitlocked.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>KeepItLocked.net - All Comments</title><link>http://keepitlocked.net/default.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP2 (Build: 20611.960)</generator><item><title>Checking for ViewStateUserKey using FxCop</title><link>http://keepitlocked.net/archive/2008/05/29/viewstateuserkey-doesn-t-prevent-cross-site-request-forgery.aspx#37</link><pubDate>Thu, 25 Sep 2008 22:43:11 GMT</pubDate><guid isPermaLink="false">a3f75fb5-0505-4d35-9795-aaa2ed659a71:37</guid><dc:creator>Sacha Faust Web Security Blog</dc:creator><description>&lt;p&gt;ASP.NET has had a mitigation to prevent against CSRF/One-Click attacks since 1.1 with the use of Page.ViewStateUserKey&lt;/p&gt;
&lt;img src="http://keepitlocked.net/aggbug.aspx?PostID=37" width="1" height="1"&gt;</description></item><item><title>re: Giving the OWASP .NET ESAPI a Second Look</title><link>http://keepitlocked.net/archive/2008/09/09/giving-the-owasp-net-esapi-a-second-look.aspx#36</link><pubDate>Wed, 10 Sep 2008 10:58:00 GMT</pubDate><guid isPermaLink="false">a3f75fb5-0505-4d35-9795-aaa2ed659a71:36</guid><dc:creator>ilivewithian</dc:creator><description>&lt;p&gt;You talk about a web.config file that is secure by default. Is there one on the web somewhere that I could use for reference?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Rob&lt;/p&gt;
&lt;img src="http://keepitlocked.net/aggbug.aspx?PostID=36" width="1" height="1"&gt;</description></item><item><title>Giving the OWASP .NET ESAPI a Second Look</title><link>http://keepitlocked.net/archive/2008/05/29/viewstateuserkey-doesn-t-prevent-cross-site-request-forgery.aspx#35</link><pubDate>Wed, 10 Sep 2008 01:20:27 GMT</pubDate><guid isPermaLink="false">a3f75fb5-0505-4d35-9795-aaa2ed659a71:35</guid><dc:creator>KeepItLocked.net</dc:creator><description>&lt;p&gt;I've started up work again on the OWASP .NET ESAPI . Since a few months ago, when I translated the OWASP&lt;/p&gt;
&lt;img src="http://keepitlocked.net/aggbug.aspx?PostID=35" width="1" height="1"&gt;</description></item><item><title>re: A Brief History of Applet Security</title><link>http://keepitlocked.net/archive/2007/10/10/a-brief-history-of-applet-security.aspx#32</link><pubDate>Fri, 22 Aug 2008 20:56:58 GMT</pubDate><guid isPermaLink="false">a3f75fb5-0505-4d35-9795-aaa2ed659a71:32</guid><dc:creator>trond</dc:creator><description>&lt;p&gt;No change as of august 2008.&lt;/p&gt;
&lt;p&gt;The certificate warning is almost a joke and it is in badly need of a redesign to warn users of how much access you actually give the Java applet. I'd really like to use this for single file load/save, but I'm not comfortable recommending it to users. I'd prefer lower-level security access by a file-dialog that's in control by the user, as handled in browsers, but without having to perform a submit against the server.&lt;/p&gt;
&lt;img src="http://keepitlocked.net/aggbug.aspx?PostID=32" width="1" height="1"&gt;</description></item><item><title>re: Goofus and Gallant, Part One</title><link>http://keepitlocked.net/archive/2007/08/31/goofus-and-gallant-part-one.aspx#28</link><pubDate>Wed, 11 Jun 2008 20:33:50 GMT</pubDate><guid isPermaLink="false">a3f75fb5-0505-4d35-9795-aaa2ed659a71:28</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;I've been notified that this diagram is actually a little confusing. The “certificate” coming from the session store was actually meant to be a representation of a user name, or other form of identity, in the session. The goal was to point out that you shouldn’t accept the user name directly from the user. Instead, you should accept a session identifier, which you correlate with a user ID in the session store.&lt;/p&gt;
&lt;img src="http://keepitlocked.net/aggbug.aspx?PostID=28" width="1" height="1"&gt;</description></item><item><title>re: Java and HttpOnly</title><link>http://keepitlocked.net/archive/2007/11/05/java-and-httponly.aspx#20</link><pubDate>Wed, 28 Nov 2007 22:13:16 GMT</pubDate><guid isPermaLink="false">a3f75fb5-0505-4d35-9795-aaa2ed659a71:20</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;Yes, indeed the code shown does work. After the chain.doFilter(), the response has already been sent to the client, so the response modification needs to occur before.&lt;/p&gt;
&lt;p&gt;From &amp;quot;The Essentials of Filters&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://java.sun.com/products/servlet/Filters.html"&gt;java.sun.com/.../Filters.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;quote&amp;gt;&lt;/p&gt;
&lt;p&gt;The most important method in the Filter interface is the doFilter method, which is the heart of the filter. This method usually performs some of the following actions:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; * Examines the request headers&lt;/p&gt;
&lt;p&gt; &amp;nbsp; * Customizes the request object if it wishes to modify request headers or data or block the request entirely&lt;/p&gt;
&lt;p&gt; &amp;nbsp; * Customizes the response object if it wishes to modify response headers or data&lt;/p&gt;
&lt;p&gt; &amp;nbsp; * Invokes the next entity in the filter chain. If the current filter is the last filter in the chain that ends with the target servlet, the next entity is the resource at the end of the chain; otherwise, it is the next filter that was configured in the WAR. It invokes the next entity by calling the doFilter method on the chain object (passing in the request and response it was called with, or the wrapped versions it may have created). Alternatively, it can choose to block the request by not making the call to invoke the next entity. In the latter case, the filter is responsible for filling out the response.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; * Examines response headers after it has invoked the next filter in the chain&lt;/p&gt;
&lt;p&gt; &amp;nbsp; * Throws an exception to indicate an error in processing&lt;/p&gt;
&lt;p&gt;&amp;lt;/quote&amp;gt;&lt;/p&gt;
&lt;p&gt;As far as calling request.getSession(), I believe that this must have already been called in a previous filter.&lt;/p&gt;
&lt;img src="http://keepitlocked.net/aggbug.aspx?PostID=20" width="1" height="1"&gt;</description></item><item><title>re: Java and HttpOnly</title><link>http://keepitlocked.net/archive/2007/11/05/java-and-httponly.aspx#18</link><pubDate>Tue, 06 Nov 2007 10:38:23 GMT</pubDate><guid isPermaLink="false">a3f75fb5-0505-4d35-9795-aaa2ed659a71:18</guid><dc:creator>owasp</dc:creator><description>&lt;p&gt;Does this really work? If the call to request.getSession() hasn't happened yet, then the response won't have the set-cookie header yet. Seems to me that the call to chain.doFilter() should come before the set-cookie check so the response will be filled in.&lt;/p&gt;
&lt;img src="http://keepitlocked.net/aggbug.aspx?PostID=18" width="1" height="1"&gt;</description></item><item><title>Securing ActiveX Controls</title><link>http://keepitlocked.net/archive/2007/10/10/a-brief-history-of-applet-security.aspx#15</link><pubDate>Wed, 17 Oct 2007 04:20:09 GMT</pubDate><guid isPermaLink="false">a3f75fb5-0505-4d35-9795-aaa2ed659a71:15</guid><dc:creator>codesecurely.org</dc:creator><description>&lt;p&gt;I was reading my buddy Alex Smolen's post the other day on Java Applet Security and figured I would see&lt;/p&gt;
&lt;img src="http://keepitlocked.net/aggbug.aspx?PostID=15" width="1" height="1"&gt;</description></item></channel></rss>