<?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: ColdFusion shared hosting security and databases</title>
	<atom:link href="http://jochem.vandieten.net/2009/01/05/coldfusion-shared-hosting-security-and-databases/feed/" rel="self" type="application/rss+xml" />
	<link>http://jochem.vandieten.net/2009/01/05/coldfusion-shared-hosting-security-and-databases/</link>
	<description>Jochem's tech exploits</description>
	<pubDate>Tue, 09 Jun 2026 10:23:15 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Leigh</title>
		<link>http://jochem.vandieten.net/2009/01/05/coldfusion-shared-hosting-security-and-databases/comment-page-1/#comment-898</link>
		<dc:creator>Leigh</dc:creator>
		<pubDate>Sat, 14 Nov 2009 02:35:04 +0000</pubDate>
		<guid isPermaLink="false">http://jochem.vandieten.net/?p=88#comment-898</guid>
		<description>Re: "The way to decrypt these passwords is well known" .. and apparently still works in ColdFusion 9.</description>
		<content:encoded><![CDATA[<p>Re: &#8220;The way to decrypt these passwords is well known&#8221; .. and apparently still works in ColdFusion 9.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: &#8220;it could be bunnies&#8221; &#187; Blog Archive &#187; Shared hosting security wishlist</title>
		<link>http://jochem.vandieten.net/2009/01/05/coldfusion-shared-hosting-security-and-databases/comment-page-1/#comment-157</link>
		<dc:creator>&#8220;it could be bunnies&#8221; &#187; Blog Archive &#187; Shared hosting security wishlist</dc:creator>
		<pubDate>Tue, 06 Jan 2009 20:26:42 +0000</pubDate>
		<guid isPermaLink="false">http://jochem.vandieten.net/?p=88#comment-157</guid>
		<description>[...] &#171; ColdFusion shared hosting security and databases [...]</description>
		<content:encoded><![CDATA[<p>[...] &laquo; ColdFusion shared hosting security and databases [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jochem</title>
		<link>http://jochem.vandieten.net/2009/01/05/coldfusion-shared-hosting-security-and-databases/comment-page-1/#comment-155</link>
		<dc:creator>Jochem</dc:creator>
		<pubDate>Tue, 06 Jan 2009 09:12:50 +0000</pubDate>
		<guid isPermaLink="false">http://jochem.vandieten.net/?p=88#comment-155</guid>
		<description>As I explained in &lt;a href="http://jochem.vandieten.net/2008/12/09/cf-shared-hosting-security-java-cfexecute-com-net-and-java-again/" rel="nofollow"&gt;an earlier post&lt;/a&gt; giving people the option to instantiate Java objects amounts to giving them the password to the ColdFusion Administrator. Who cares that you can enumerate the list of datasources using Java, when you can simple overwrite the password.properties file and force ColdFusion to read the new version by restarting JRun through CreateObject("java", "java.lang.runtime").getRunTime().halt()?</description>
		<content:encoded><![CDATA[<p>As I explained in <a href="http://jochem.vandieten.net/2008/12/09/cf-shared-hosting-security-java-cfexecute-com-net-and-java-again/" rel="nofollow">an earlier post</a> giving people the option to instantiate Java objects amounts to giving them the password to the ColdFusion Administrator. Who cares that you can enumerate the list of datasources using Java, when you can simple overwrite the password.properties file and force ColdFusion to read the new version by restarting JRun through CreateObject(&#8221;java&#8221;, &#8220;java.lang.runtime&#8221;).getRunTime().halt()?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Freelance Web Developer</title>
		<link>http://jochem.vandieten.net/2009/01/05/coldfusion-shared-hosting-security-and-databases/comment-page-1/#comment-153</link>
		<dc:creator>Freelance Web Developer</dc:creator>
		<pubDate>Mon, 05 Jan 2009 22:46:28 +0000</pubDate>
		<guid isPermaLink="false">http://jochem.vandieten.net/?p=88#comment-153</guid>
		<description>What about something like this to get all of the datasources?


/**
 * Gets a list of DSNs.
 * 
 * @return Returns an array. 
 * @author Raymond Camden (ray@camdenfamily.com) 
 * @version 1, November 15, 2002 
 */
function getDSNs() {
	var factory = createObject("java","coldfusion.server.ServiceFactory");
	return factory.getDataSourceService().getNames();
}



From there you can make a cfquery and go to town.</description>
		<content:encoded><![CDATA[<p>What about something like this to get all of the datasources?</p>
<p>/**<br />
 * Gets a list of DSNs.<br />
 *<br />
 * @return Returns an array.<br />
 * @author Raymond Camden (ray@camdenfamily.com)<br />
 * @version 1, November 15, 2002<br />
 */<br />
function getDSNs() {<br />
	var factory = createObject(&#8221;java&#8221;,&#8221;coldfusion.server.ServiceFactory&#8221;);<br />
	return factory.getDataSourceService().getNames();<br />
}</p>
<p>From there you can make a cfquery and go to town.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
