<?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 on: There is more than one way to do it&#8230;.</title>
	<atom:link href="http://www.pythian.com/news/4155/there-is-more-than-one-way-to-do-it/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pythian.com/news/4155/there-is-more-than-one-way-to-do-it/</link>
	<description>News and views from Pythian DBAs</description>
	<lastBuildDate>Sat, 20 Mar 2010 20:27:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Sheeri Cabral</title>
		<link>http://www.pythian.com/news/4155/there-is-more-than-one-way-to-do-it/#comment-377309</link>
		<dc:creator>Sheeri Cabral</dc:creator>
		<pubDate>Tue, 29 Sep 2009 19:08:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=4155#comment-377309</guid>
		<description>Shlomi -- I appreciate the information!  I wonder if the law is &quot;no auto-increment&quot; period, or &quot;no easy way to get the data&quot; -- in the US laws are more like the latter, and thus it&#039;s OK for the suggestion.

Plus, I like to put out all possible suggestions, and then discuss the pros and cons.  For example, solution #4 wasn&#039;t a possibility because this company is very small and doesn&#039;t have another server to put another database on.  There&#039;s many reasons why one solution will work better or won&#039;t work at all -- the idea is to start with all the ideas, and work from there.  (and yes, ideas may include &quot;move to a different database like Postgres&quot; or &quot;keep the info in a text log file&quot; too).</description>
		<content:encoded><![CDATA[<p>Shlomi &#8212; I appreciate the information!  I wonder if the law is &#8220;no auto-increment&#8221; period, or &#8220;no easy way to get the data&#8221; &#8212; in the US laws are more like the latter, and thus it&#8217;s OK for the suggestion.</p>
<p>Plus, I like to put out all possible suggestions, and then discuss the pros and cons.  For example, solution #4 wasn&#8217;t a possibility because this company is very small and doesn&#8217;t have another server to put another database on.  There&#8217;s many reasons why one solution will work better or won&#8217;t work at all &#8212; the idea is to start with all the ideas, and work from there.  (and yes, ideas may include &#8220;move to a different database like Postgres&#8221; or &#8220;keep the info in a text log file&#8221; too).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shlomi Noach</title>
		<link>http://www.pythian.com/news/4155/there-is-more-than-one-way-to-do-it/#comment-377294</link>
		<dc:creator>Shlomi Noach</dc:creator>
		<pubDate>Tue, 29 Sep 2009 17:41:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=4155#comment-377294</guid>
		<description>Sheeri,

I&#039;m assuming hacker couldn&#039;t get direct access to db, but rather use XSS/SQL injection.

Anyway, I&#039;m just sharing this information. If I&#039;m not mistaken, this law was from Germany.</description>
		<content:encoded><![CDATA[<p>Sheeri,</p>
<p>I&#8217;m assuming hacker couldn&#8217;t get direct access to db, but rather use XSS/SQL injection.</p>
<p>Anyway, I&#8217;m just sharing this information. If I&#8217;m not mistaken, this law was from Germany.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sheeri Cabral</title>
		<link>http://www.pythian.com/news/4155/there-is-more-than-one-way-to-do-it/#comment-377293</link>
		<dc:creator>Sheeri Cabral</dc:creator>
		<pubDate>Tue, 29 Sep 2009 17:15:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=4155#comment-377293</guid>
		<description>Shlomi -- but a hacker can only get information by primary key if the primary key is *used* in a retrieval system.  The suggestion was to keep everything as it is, but change the primary key to an auto_increment -- lookups, etc are still done by GUID.  The code wouldn&#039;t change, so hacking into the code wouldn&#039;t allow a hacker to use the &quot;simple&quot; number -- it is transparent to the code.

And if the hacker hacks into the database, they can just do SELECT * FROM tbl LIMIT x,y to get values.</description>
		<content:encoded><![CDATA[<p>Shlomi &#8212; but a hacker can only get information by primary key if the primary key is *used* in a retrieval system.  The suggestion was to keep everything as it is, but change the primary key to an auto_increment &#8212; lookups, etc are still done by GUID.  The code wouldn&#8217;t change, so hacking into the code wouldn&#8217;t allow a hacker to use the &#8220;simple&#8221; number &#8212; it is transparent to the code.</p>
<p>And if the hacker hacks into the database, they can just do SELECT * FROM tbl LIMIT x,y to get values.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shlomi Noach</title>
		<link>http://www.pythian.com/news/4155/there-is-more-than-one-way-to-do-it/#comment-377291</link>
		<dc:creator>Shlomi Noach</dc:creator>
		<pubDate>Tue, 29 Sep 2009 16:45:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=4155#comment-377291</guid>
		<description>Hi Sheeri,
Good writing. I&#039;ve actually worked with a European company who told me that according to some law, user data *must* be identified by GUID (or otherwise 32 hex digits), so as not to have a &quot;simple&quot; number, possible auto-increment, which can be used by hackers to look for users&#039; data.
Meaning, the purpose was to make it harder for hackers to get people&#039;s details by guessing their primary key value.

Regards,
Shlomi</description>
		<content:encoded><![CDATA[<p>Hi Sheeri,<br />
Good writing. I&#8217;ve actually worked with a European company who told me that according to some law, user data *must* be identified by GUID (or otherwise 32 hex digits), so as not to have a &#8220;simple&#8221; number, possible auto-increment, which can be used by hackers to look for users&#8217; data.<br />
Meaning, the purpose was to make it harder for hackers to get people&#8217;s details by guessing their primary key value.</p>
<p>Regards,<br />
Shlomi</p>
]]></content:encoded>
	</item>
</channel>
</rss>
