<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	>
<channel>
	<title>Comments for $Tony[] = new Tony();</title>
	<atom:link href="http://blog.theadventus.com/tony/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.theadventus.com/tony</link>
	<description></description>
	<pubDate>Sat, 19 May 2012 23:55:27 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Into the Cloud by tony</title>
		<link>http://blog.theadventus.com/tony/2010/08/29/into-the-cloud/comment-page-1/#comment-2154</link>
		<dc:creator>tony</dc:creator>
		<pubDate>Sun, 29 Aug 2010 15:18:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.theadventus.com/tony/2010/08/29/into-the-cloud/#comment-2154</guid>
		<description>This is a very good explanation on Cloud-based services that uses a very simple-to-understand terms and use case:

http://techportal.ibuildings.com/2009/03/31/php-and-the-cloud/</description>
		<content:encoded><![CDATA[<p>This is a very good explanation on Cloud-based services that uses a very simple-to-understand terms and use case:</p>
<p><a href="http://techportal.ibuildings.com/2009/03/31/php-and-the-cloud/" rel="nofollow">http://techportal.ibuildings.com/2009/03/31/php-and-the-cloud/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Code Assist and Completion From CI Model Files by LiangShing</title>
		<link>http://blog.theadventus.com/tony/2009/09/03/code-assist-and-completion-from-ci-model-files/comment-page-1/#comment-206</link>
		<dc:creator>LiangShing</dc:creator>
		<pubDate>Fri, 18 Sep 2009 07:08:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.theadventus.com/tony/?p=74#comment-206</guid>
		<description>Yup! It works with Zend too~! Nice one! heh</description>
		<content:encoded><![CDATA[<p>Yup! It works with Zend too~! Nice one! heh</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on I&#8217;m Getting Spam Comments by liangshing</title>
		<link>http://blog.theadventus.com/tony/2009/07/13/im-getting-spam-comments/comment-page-1/#comment-34</link>
		<dc:creator>liangshing</dc:creator>
		<pubDate>Tue, 04 Aug 2009 03:11:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.theadventus.com/tony/?p=65#comment-34</guid>
		<description>haha.. i got 135 spam comments and counting...........</description>
		<content:encoded><![CDATA[<p>haha.. i got 135 spam comments and counting&#8230;&#8230;&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Secure Your Website Content!! by tony</title>
		<link>http://blog.theadventus.com/tony/2009/07/08/secure-your-website-content/comment-page-1/#comment-29</link>
		<dc:creator>tony</dc:creator>
		<pubDate>Wed, 15 Jul 2009 03:18:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.theadventus.com/tony/?p=57#comment-29</guid>
		<description>So they forgot that Google spiders &lt;strong&gt;cache &lt;/strong&gt; websites, not just index them...?</description>
		<content:encoded><![CDATA[<p>So they forgot that Google spiders <strong>cache </strong> websites, not just index them&#8230;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Secure Your Website Content!! by yuit</title>
		<link>http://blog.theadventus.com/tony/2009/07/08/secure-your-website-content/comment-page-1/#comment-28</link>
		<dc:creator>yuit</dc:creator>
		<pubDate>Tue, 14 Jul 2009 18:42:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.theadventus.com/tony/?p=57#comment-28</guid>
		<description>Did you know that the Expoert Exchange issue is actually them trying to be smart, and trick users into visiting their site?
Basically, the way they operate is this:
a.  Make the questions and answers index-able by Google.
b.  Hope that people searching for a term like "How do I simulate inheritance in PHP" on Google would be directed to Experts Exchange, because google already indexed my content.
c.  But hide the true content from users when they actually arrive at Experts Exchange, so that they end up signing up as members.

Sneaky, basically.   Cos no one else would program their site to be only visible by spiders and not human readers unless you are doing something sneaky.</description>
		<content:encoded><![CDATA[<p>Did you know that the Expoert Exchange issue is actually them trying to be smart, and trick users into visiting their site?<br />
Basically, the way they operate is this:<br />
a.  Make the questions and answers index-able by Google.<br />
b.  Hope that people searching for a term like &#8220;How do I simulate inheritance in PHP&#8221; on Google would be directed to Experts Exchange, because google already indexed my content.<br />
c.  But hide the true content from users when they actually arrive at Experts Exchange, so that they end up signing up as members.</p>
<p>Sneaky, basically.   Cos no one else would program their site to be only visible by spiders and not human readers unless you are doing something sneaky.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Getting a New Laptop for Work by yuit</title>
		<link>http://blog.theadventus.com/tony/2009/07/12/getting-a-new-laptop-for-work/comment-page-1/#comment-27</link>
		<dc:creator>yuit</dc:creator>
		<pubDate>Tue, 14 Jul 2009 18:37:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.theadventus.com/tony/?p=63#comment-27</guid>
		<description>Bought yet? :-)  I think the X200 will be a little more with the 9-cell battery.  But it should give you 6+ hours of computing  :-)  Almost whole day!</description>
		<content:encoded><![CDATA[<p>Bought yet? <img src='http://blog.theadventus.com/tony/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  I think the X200 will be a little more with the 9-cell battery.  But it should give you 6+ hours of computing  <img src='http://blog.theadventus.com/tony/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Almost whole day!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on I&#8217;m Getting Spam Comments by yuit</title>
		<link>http://blog.theadventus.com/tony/2009/07/13/im-getting-spam-comments/comment-page-1/#comment-26</link>
		<dc:creator>yuit</dc:creator>
		<pubDate>Tue, 14 Jul 2009 18:35:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.theadventus.com/tony/?p=65#comment-26</guid>
		<description>Google is starting to index our blogs. And through google, the spam bots have found us too</description>
		<content:encoded><![CDATA[<p>Google is starting to index our blogs. And through google, the spam bots have found us too</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Session Fixation Problem in PHP by yuit</title>
		<link>http://blog.theadventus.com/tony/2009/06/24/session-fixation-problem-in-php/comment-page-1/#comment-13</link>
		<dc:creator>yuit</dc:creator>
		<pubDate>Wed, 01 Jul 2009 08:12:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.theadventus.com/tony/2009/06/24/session-fixation-problem-in-php-calling-all-tac-web-engineers-for-opinions/#comment-13</guid>
		<description>2 cookies is an interesting idea. So one is generated by the PHPsessionID, another can be just a random 6 digit number, similar to the Unix process ID.</description>
		<content:encoded><![CDATA[<p>2 cookies is an interesting idea. So one is generated by the PHPsessionID, another can be just a random 6 digit number, similar to the Unix process ID.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Session Fixation Problem in PHP by tony</title>
		<link>http://blog.theadventus.com/tony/2009/06/24/session-fixation-problem-in-php/comment-page-1/#comment-12</link>
		<dc:creator>tony</dc:creator>
		<pubDate>Wed, 01 Jul 2009 01:53:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.theadventus.com/tony/2009/06/24/session-fixation-problem-in-php-calling-all-tac-web-engineers-for-opinions/#comment-12</guid>
		<description>The issue is a fundamental issue in web technology, yes I did thought so. I'm not so knowledgeable in .Net or JSP, that's why I write the case in PHP perspective. But according to VA team of Peppermint Lozenges client, their JSP applications are not vulnerable to this kind of attack.

To tie the sessions to IP addresses is not so perfect too, considering lots of clients might be behind a single proxy, or single IP address from their internet provider. Hence what Hsing suggested to me is to tie the session with:

Hash ( IP address + Browser user agent + another cookie + a salt )

"another cookie" is just yet another cookie set as additional verifier. This will make the attack more difficult, if not impossible. Hence the attacker must:

1. Somehow in the same IP address with the victim
2. Use the same browser user agent (or fake it)
3. Find out what's the name and value of "another cookie" (using the same method used to get the Session ID cookie)

Its more difficult now, but definitely not impossible.</description>
		<content:encoded><![CDATA[<p>The issue is a fundamental issue in web technology, yes I did thought so. I&#8217;m not so knowledgeable in .Net or JSP, that&#8217;s why I write the case in PHP perspective. But according to VA team of Peppermint Lozenges client, their JSP applications are not vulnerable to this kind of attack.</p>
<p>To tie the sessions to IP addresses is not so perfect too, considering lots of clients might be behind a single proxy, or single IP address from their internet provider. Hence what Hsing suggested to me is to tie the session with:</p>
<p>Hash ( IP address + Browser user agent + another cookie + a salt )</p>
<p>&#8220;another cookie&#8221; is just yet another cookie set as additional verifier. This will make the attack more difficult, if not impossible. Hence the attacker must:</p>
<p>1. Somehow in the same IP address with the victim<br />
2. Use the same browser user agent (or fake it)<br />
3. Find out what&#8217;s the name and value of &#8220;another cookie&#8221; (using the same method used to get the Session ID cookie)</p>
<p>Its more difficult now, but definitely not impossible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Session Fixation Problem in PHP by yuit</title>
		<link>http://blog.theadventus.com/tony/2009/06/24/session-fixation-problem-in-php/comment-page-1/#comment-11</link>
		<dc:creator>yuit</dc:creator>
		<pubDate>Tue, 30 Jun 2009 20:24:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.theadventus.com/tony/2009/06/24/session-fixation-problem-in-php-calling-all-tac-web-engineers-for-opinions/#comment-11</guid>
		<description>Hmm... correct me if i'm wrong, but this "session fixation problem" is really not a PHP issue fundamentally, but the nature of how the web has worked around its innately stateless nature, to introduce stateful transactions (look at the history of cookies, and why Netscape introduced it).
Does jSP or .NET actually manage sessions differently from PHP that makes them less vulnerable to this "fixation problem"?  I don't think so. Sessions are cookies and cookies are cookies whether it is generated by PHP or JSP or .Net.

All 3 options listed above are sub-optimal in my view...

I feel that the most logical approach to this is actually to tie sessions to IP addresses. Once you detect a change in the IP address for the same session, generate a warning to the end user, log him out, and log the message in a "security-error.log" file.

There will be additional overhead of getting your application to "watch" the ip address for every transaction, but I guess we can work out some optimisation for that ...</description>
		<content:encoded><![CDATA[<p>Hmm&#8230; correct me if i&#8217;m wrong, but this &#8220;session fixation problem&#8221; is really not a PHP issue fundamentally, but the nature of how the web has worked around its innately stateless nature, to introduce stateful transactions (look at the history of cookies, and why Netscape introduced it).<br />
Does jSP or .NET actually manage sessions differently from PHP that makes them less vulnerable to this &#8220;fixation problem&#8221;?  I don&#8217;t think so. Sessions are cookies and cookies are cookies whether it is generated by PHP or JSP or .Net.</p>
<p>All 3 options listed above are sub-optimal in my view&#8230;</p>
<p>I feel that the most logical approach to this is actually to tie sessions to IP addresses. Once you detect a change in the IP address for the same session, generate a warning to the end user, log him out, and log the message in a &#8220;security-error.log&#8221; file.</p>
<p>There will be additional overhead of getting your application to &#8220;watch&#8221; the ip address for every transaction, but I guess we can work out some optimisation for that &#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

