<?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: Spring and encrypted DataSource passwords</title>
	<atom:link href="http://www.j2eegeek.com/blog/2005/08/15/spring-and-encrypted-datasource-passwords/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.j2eegeek.com/blog/2005/08/15/spring-and-encrypted-datasource-passwords/</link>
	<description>In the kingdom of hope, there is no winter.</description>
	<lastBuildDate>Fri, 28 Oct 2011 16:23:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Dmitri Maximovich</title>
		<link>http://www.j2eegeek.com/blog/2005/08/15/spring-and-encrypted-datasource-passwords/comment-page-1/#comment-4480</link>
		<dc:creator>Dmitri Maximovich</dc:creator>
		<pubDate>Tue, 16 Aug 2005 16:31:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.j2eegeek.com/blog/2005/08/15/spring-and-encrypted-datasource-passwords/#comment-4480</guid>
		<description>http://en.wikipedia.org/wiki/Security_by_obscurity</description>
		<content:encoded><![CDATA[<p><a href="http://en.wikipedia.org/wiki/Security_by_obscurity" rel="nofollow">http://en.wikipedia.org/wiki/Security_by_obscurity</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmitri Maximovich</title>
		<link>http://www.j2eegeek.com/blog/2005/08/15/spring-and-encrypted-datasource-passwords/comment-page-1/#comment-4479</link>
		<dc:creator>Dmitri Maximovich</dc:creator>
		<pubDate>Tue, 16 Aug 2005 16:28:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.j2eegeek.com/blog/2005/08/15/spring-and-encrypted-datasource-passwords/#comment-4479</guid>
		<description>Vinny,

I hear what you saying but for me false sence of security is actually worse than no security at all ;-) Users looking at *Secure*DriverManagerDataSource would assume that they&#039;re much better protected when in reality this won&#039;t stop anybody who even little determined to break into this.

Following your logic, whole application context could be placed in the directory where you can use persmissions to restrict access to it (but app. server still going to need read permissions) ;-)

PS Java keystore, though not ideal in may ways, was designed to prevent keys from being kept in open.</description>
		<content:encoded><![CDATA[<p>Vinny,</p>
<p>I hear what you saying but for me false sence of security is actually worse than no security at all <img src='http://www.j2eegeek.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  Users looking at *Secure*DriverManagerDataSource would assume that they&#8217;re much better protected when in reality this won&#8217;t stop anybody who even little determined to break into this.</p>
<p>Following your logic, whole application context could be placed in the directory where you can use persmissions to restrict access to it (but app. server still going to need read permissions) <img src='http://www.j2eegeek.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>PS Java keystore, though not ideal in may ways, was designed to prevent keys from being kept in open.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vinny Carpenter</title>
		<link>http://www.j2eegeek.com/blog/2005/08/15/spring-and-encrypted-datasource-passwords/comment-page-1/#comment-4478</link>
		<dc:creator>Vinny Carpenter</dc:creator>
		<pubDate>Tue, 16 Aug 2005 16:08:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.j2eegeek.com/blog/2005/08/15/spring-and-encrypted-datasource-passwords/#comment-4478</guid>
		<description>Hi Dmitri.  I agree with you in principal but the idea of using 2-way encryption is part of the &#039;&lt;a href=&quot;http://en.wikipedia.org/wiki/Defense_in_depth&quot; rel=&quot;nofollow&quot;&gt;Defense in depth&lt;/a&gt;&#039; strategy.  Encrypting the password and separating the key makes it a little harder for someone to get access to the database.  The key needed to decrypt could be placed in a directory where you can use UNIX permissions to restrict access -  It&#039;s not perfect but you are adding layers of security.</description>
		<content:encoded><![CDATA[<p>Hi Dmitri.  I agree with you in principal but the idea of using 2-way encryption is part of the &#8216;<a href="http://en.wikipedia.org/wiki/Defense_in_depth" rel="nofollow">Defense in depth</a>&#8216; strategy.  Encrypting the password and separating the key makes it a little harder for someone to get access to the database.  The key needed to decrypt could be placed in a directory where you can use UNIX permissions to restrict access &#8211;  It&#8217;s not perfect but you are adding layers of security.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmitri Maximovich</title>
		<link>http://www.j2eegeek.com/blog/2005/08/15/spring-and-encrypted-datasource-passwords/comment-page-1/#comment-4477</link>
		<dc:creator>Dmitri Maximovich</dc:creator>
		<pubDate>Tue, 16 Aug 2005 15:38:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.j2eegeek.com/blog/2005/08/15/spring-and-encrypted-datasource-passwords/#comment-4477</guid>
		<description>As I commented on Matt&#039;s blog - what&#039;s the point to encrypt password with reversible algorithm and keep the key as an open string? Does it adds security really?</description>
		<content:encoded><![CDATA[<p>As I commented on Matt&#8217;s blog &#8211; what&#8217;s the point to encrypt password with reversible algorithm and keep the key as an open string? Does it adds security really?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

