<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>UniqueID maintenance in the store</title><link>http://blogs.msdn.com/b/vbertocci/archive/2007/01/17/uniqueid-maintenance-in-the-store.aspx</link><description>The comments to my blog stopped working. I am working on it, but in the meanwhile here there's the answer to a comment left by Matt to my former post on PPID vs UniqueID . 
 
 Monday, January 15, 2007 6:55 AM by Matt Ellis # re: UniqueID and PPID </description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: UniqueID maintenance in the store</title><link>http://blogs.msdn.com/b/vbertocci/archive/2007/01/17/uniqueid-maintenance-in-the-store.aspx#1493840</link><pubDate>Fri, 19 Jan 2007 20:46:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1493840</guid><dc:creator>Vittorio Bertocci - MSFT</dc:creator><description>&lt;p&gt;Hello Miha.&lt;/p&gt;
&lt;p&gt;Guessing by brute force a PPID would very difficult: it's a fairly long string (an example: FgQRItvmKACbDCY0ZAgW67haBrzGD0myRaEEUIRoOoE), with no meaningful substring that would be vulnerable to dictionary attacks.&lt;/p&gt;
&lt;p&gt;That said, it is still strongly discouraged to use PPID recognition as the only mean of authenticating the user: involving active content in the mix (= content that is verifiably involved in the cryptographic processing of the token, say the public key of the issuer who sisngs the token) is always the safest, because even in case of leaking of the info in your db nobody will be able to produce a matching token anyway.&lt;/p&gt;
&lt;p&gt;HTH,&lt;/p&gt;
&lt;p&gt;V.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1493840" width="1" height="1"&gt;</description></item><item><title>re: UniqueID maintenance in the store</title><link>http://blogs.msdn.com/b/vbertocci/archive/2007/01/17/uniqueid-maintenance-in-the-store.aspx#1488827</link><pubDate>Thu, 18 Jan 2007 17:45:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1488827</guid><dc:creator>Miha</dc:creator><description>&lt;p&gt;Vittorio,&lt;/p&gt;
&lt;p&gt;reading all this, makes me wonder: if RP uses PPID to associate &amp;quot;user&amp;quot; with application for, let's say persistent state or whatever, PPID could be guessed (brute force comes to mind) by an evil user and thus the identity would be taken over?&lt;/p&gt;
&lt;p&gt;PPID is defined as a string of a defined length, so guessing-it (brute forcing it) is kind of possible.&lt;/p&gt;
&lt;p&gt;Is this totally off?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt; &amp;nbsp;Miha.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1488827" width="1" height="1"&gt;</description></item></channel></rss>